home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hot Super Models
/
Hot Super Models.iso
/
mac
/
jpeg2gif.cpt
/
jpeg2gif
/
ppmquant folder
/
ppmquant.020.68881.rsrc
/
CODE_3.txt
< prev
next >
Wrap
Text File
|
1991-11-14
|
450KB
|
8,231 lines
# near model CODE resource
# jump table entries: 120-161 (42 of them)
export_56:
fn00000000:
00000000 4E56 0000 link A6, 0
00000004 0CAE 0000 3A98 0008 cmpi.l [A6 + 0x8], 0x3A98
0000000C 640C bcc +0xE /* 0000001A */
0000000E 3F2E 000A move.w -[A7], [A6 + 0xA]
00000012 4EBA 01D6 jsr [PC + 0x1D6 /* 000001EA */]
00000016 548F addq.l A7, 2
00000018 601E bra +0x20 /* 00000038 */
label0000001A:
0000001A 0CAE 0080 0000 0008 cmpi.l [A6 + 0x8], 0x800000
00000022 6304 bls +0x6 /* 00000028 */
00000024 7000 moveq.l D0, 0x00
00000026 6010 bra +0x12 /* 00000038 */
label00000028:
00000028 202E 0008 move.l D0, [A6 + 0x8]
0000002C 5480 addq.l D0, 2
0000002E A11E syscall NewPtr, flags=1
00000030 6B04 bmi +0x6 /* 00000036 */
00000032 30FC FFFF move.w [A0]+, 0xFFFF
label00000036:
00000036 2008 move.l D0, A0
label00000038:
00000038 4E5E unlink A6
0000003A 4E75 rts
0000003C 4E56 FFFC link A6, -0x0004
00000040 0CAE 0080 0000 000C cmpi.l [A6 + 0xC], 0x800000
00000048 6306 bls +0x8 /* 00000050 */
0000004A 7000 moveq.l D0, 0x00
0000004C 6000 0070 bra +0x72 /* 000000BE */
label00000050:
00000050 082E 0000 000F btst.b [A6 + 0xF], 0x0
00000056 6704 beq +0x6 /* 0000005C */
00000058 52AE 000C addq.l [A6 + 0xC], 1
label0000005C:
0000005C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000060 2F2E 000C move.l -[A7], [A6 + 0xC]
00000064 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
00000068 2D40 000C move.l [A6 + 0xC], D0
0000006C 0CAE 0080 0000 000C cmpi.l [A6 + 0xC], 0x800000
00000074 6304 bls +0x6 /* 0000007A */
00000076 7000 moveq.l D0, 0x00
00000078 6044 bra +0x46 /* 000000BE */
label0000007A:
0000007A 0CAE 0000 3A98 000C cmpi.l [A6 + 0xC], 0x3A98
00000082 642A bcc +0x2C /* 000000AE */
00000084 3F2E 000E move.w -[A7], [A6 + 0xE]
00000088 4EBA 0160 jsr [PC + 0x160 /* 000001EA */]
0000008C 548F addq.l A7, 2
0000008E 2D40 FFFC move.l [A6 - 0x4], D0
00000092 4A80 tst.l D0
00000094 6712 beq +0x14 /* 000000A8 */
00000096 2F2E 000C move.l -[A7], [A6 + 0xC]
0000009A 4267 clr.w -[A7]
0000009C 2F2E FFFC move.l -[A7], [A6 - 0x4]
000000A0 4EBA 3620 jsr [PC + 0x3620 /* 000036C2 */]
000000A4 4FEF 000A lea.l A7, [A7 + 0xA]
label000000A8:
000000A8 202E FFFC move.l D0, [A6 - 0x4]
000000AC 6010 bra +0x12 /* 000000BE */
label000000AE:
000000AE 202E 000C move.l D0, [A6 + 0xC]
000000B2 5480 addq.l D0, 2
000000B4 A31E syscall NewPtrClear, flags=3
000000B6 6B04 bmi +0x6 /* 000000BC */
000000B8 30FC FFFF move.w [A0]+, 0xFFFF
label000000BC:
000000BC 2008 move.l D0, A0
label000000BE:
000000BE 4E5E unlink A6
000000C0 4E75 rts
export_54:
000000C2 4E56 0000 link A6, 0
000000C6 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
000000CA 286E 0008 movea.l A4, [A6 + 0x8]
000000CE 2E2E 000C move.l D7, [A6 + 0xC]
000000D2 0C87 0080 0000 cmpi.l D7, 0x800000
000000D8 6306 bls +0x8 /* 000000E0 */
000000DA 7000 moveq.l D0, 0x00
000000DC 6000 00EE bra +0xF0 /* 000001CC */
label000000E0:
000000E0 B8FC 0000 cmpa.w A4, 0x0
000000E4 660C bne +0xE /* 000000F2 */
000000E6 2F07 move.l -[A7], D7
000000E8 4EBA FF16 jsr [PC - 0xEA /* 00000000 */]
000000EC 588F addq.l A7, 4
000000EE 6000 00DC bra +0xDE /* 000001CC */
label000000F2:
000000F2 4A87 tst.l D7
000000F4 660E bne +0x10 /* 00000104 */
000000F6 2F0C move.l -[A7], A4
000000F8 4EBA 00DA jsr [PC + 0xDA /* 000001D4 */]
000000FC 588F addq.l A7, 4
000000FE 7000 moveq.l D0, 0x00
00000100 6000 00CA bra +0xCC /* 000001CC */
label00000104:
00000104 0807 0000 btst.b D7, 0x0
00000108 6702 beq +0x4 /* 0000010C */
0000010A 5287 addq.l D7, 1
label0000010C:
0000010C 204C movea.l A0, A4
0000010E 7000 moveq.l D0, 0x00
00000110 3020 move.w D0, -[A0]
00000112 4640 not.w D0
00000114 6602 bne +0x4 /* 00000118 */
00000116 A021 syscall GetPtrSize
label00000118:
00000118 5580 subq.l D0, 2
0000011A 2C00 move.l D6, D0
0000011C BE86 cmp.l D7, D6
0000011E 6418 bcc +0x1A /* 00000138 */
00000120 2A07 move.l D5, D7
00000122 0C86 0000 3A98 cmpi.l D6, 0x3A98
00000128 6530 bcs +0x32 /* 0000015A */
0000012A 0C87 0000 3A98 cmpi.l D7, 0x3A98
00000130 6500 007A bcs +0x7C /* 000001AC */
00000134 6000 006A bra +0x6C /* 000001A0 */
label00000138:
00000138 BE86 cmp.l D7, D6
0000013A 6318 bls +0x1A /* 00000154 */
0000013C 2A06 move.l D5, D6
0000013E 0C86 0000 3A98 cmpi.l D6, 0x3A98
00000144 6400 005A bcc +0x5C /* 000001A0 */
00000148 0C87 0000 3A98 cmpi.l D7, 0x3A98
0000014E 6400 005C bcc +0x5E /* 000001AC */
00000152 601A bra +0x1C /* 0000016E */
label00000154:
00000154 200C move.l D0, A4
00000156 6000 0074 bra +0x76 /* 000001CC */
label0000015A:
0000015A 204C movea.l A0, A4
0000015C 3220 move.w D1, -[A0]
0000015E 2006 move.l D0, D6
00000160 9087 sub.l D0, D7
00000162 D240 add.w D1, D0
00000164 3081 move.w [A0], D1
00000166 4641 not.w D1
00000168 D0C1 add.w A0, D1
0000016A 3080 move.w [A0], D0
0000016C 60E6 bra -0x18 /* 00000154 */
label0000016E:
0000016E 224C movea.l A1, A4
00000170 3021 move.w D0, -[A1]
00000172 4640 not.w D0
00000174 41F1 0000 lea.l A0, [A1 + D0.w]
00000178 3010 move.w D0, [A0]
0000017A 6B30 bmi +0x32 /* 000001AC */
0000017C 2B6D F578 F57C move.l [A5 - 0xA84], [A5 - 0xA88]
00000182 7200 moveq.l D1, 0x00
label00000184:
00000184 D041 add.w D0, D1
00000186 3230 0000 move.w D1, [A0 + D0.w]
0000018A 6AF8 bpl -0x6 /* 00000184 */
0000018C 3080 move.w [A0], D0
0000018E 2207 move.l D1, D7
00000190 9286 sub.l D1, D6
00000192 D0C1 add.w A0, D1
00000194 9041 sub.w D0, D1
00000196 6514 bcs +0x16 /* 000001AC */
00000198 6702 beq +0x4 /* 0000019C */
0000019A 3080 move.w [A0], D0
label0000019C:
0000019C 9351 sub.w [A1], D1
0000019E 60B4 bra -0x4A /* 00000154 */
label000001A0:
000001A0 204C movea.l A0, A4
000001A2 5588 subq.l A0, 2
000001A4 2007 move.l D0, D7
000001A6 5480 addq.l D0, 2
000001A8 A020 syscall SetPtrSize
000001AA 6AA8 bpl -0x56 /* 00000154 */
label000001AC:
000001AC 2F07 move.l -[A7], D7
000001AE 4EBA FE50 jsr [PC - 0x1B0 /* 00000000 */]
000001B2 588F addq.l A7, 4
000001B4 2640 movea.l A3, D0
000001B6 4A80 tst.l D0
000001B8 6710 beq +0x12 /* 000001CA */
000001BA 204C movea.l A0, A4
000001BC 224B movea.l A1, A3
000001BE 2005 move.l D0, D5
000001C0 A02E syscall BlockMove/BlockMoveData
000001C2 2F0C move.l -[A7], A4
000001C4 4EBA 000E jsr [PC + 0xE /* 000001D4 */]
000001C8 588F addq.l A7, 4
label000001CA:
000001CA 200B move.l D0, A3
label000001CC:
000001CC 4CDF 18E0 movem.l D5,D6,D7,A3,A4, [A7]+
000001D0 4E5E unlink A6
000001D2 4E75 rts
export_55:
fn000001D4:
000001D4 4E56 0000 link A6, 0
000001D8 202E 0008 move.l D0, [A6 + 0x8]
000001DC 6708 beq +0xA /* 000001E6 */
000001DE 2040 movea.l A0, D0
000001E0 4660 not.w -[A0]
000001E2 6602 bne +0x4 /* 000001E6 */
000001E4 A01F syscall DisposPtr/DisposePtr
label000001E6:
000001E6 4E5E unlink A6
000001E8 4E75 rts
fn000001EA:
000001EA 4E56 FFF8 link A6, -0x0008
000001EE 2F07 move.l -[A7], D7
000001F0 3E2E 0008 move.w D7, [A6 + 0x8]
000001F4 5647 addq.w D7, 3
000001F6 0887 0000 bclr.b D7, 0x0
000001FA 2D6D F578 FFFC move.l [A6 - 0x4], [A5 - 0xA88]
00000200 202D F57C move.l D0, [A5 - 0xA84]
00000204 664C bne +0x4E /* 00000252 */
label00000206:
00000206 203C 0000 3AA0 move.l D0, 0x3AA0
0000020C A11E syscall NewPtr, flags=1
0000020E 6B00 0086 bmi +0x88 /* 00000296 */
00000212 317C FFFF 3A9A move.w [A0 + 0x3A9A], 0xFFFF
00000218 216D F570 3A9C move.l [A0 + 0x3A9C], [A5 - 0xA90]
0000021E 2B48 F570 move.l [A5 - 0xA90], A0
00000222 2B48 F578 move.l [A5 - 0xA88], A0
00000226 202D F574 move.l D0, [A5 - 0xA8C]
0000022A 6606 bne +0x8 /* 00000232 */
0000022C 2008 move.l D0, A0
0000022E 2B40 F574 move.l [A5 - 0xA8C], D0
label00000232:
00000232 2240 movea.l A1, D0
00000234 2348 3A9C move.l [A1 + 0x3A9C], A0
00000238 303C 3A9A move.w D0, 0x3A9A
0000023C 3080 move.w [A0], D0
0000023E 6044 bra +0x46 /* 00000284 */
label00000240:
00000240 202E FFF8 move.l D0, [A6 - 0x8]
00000244 B0AE FFFC cmp.l D0, [A6 - 0x4]
00000248 67BC beq -0x42 /* 00000206 */
0000024A 2B40 F578 move.l [A5 - 0xA88], D0
0000024E 2B40 F57C move.l [A5 - 0xA84], D0
label00000252:
00000252 2040 movea.l A0, D0
00000254 74FF moveq.l D2, 0xFFFFFFFF
00000256 6018 bra +0x1A /* 00000270 */
label00000258:
00000258 4640 not.w D0
0000025A 660E bne +0x10 /* 0000026A */
0000025C 2D68 0002 FFF8 move.l [A6 - 0x8], [A0 + 0x2]
00000262 206D F578 movea.l A0, [A5 - 0xA88]
00000266 242D F57C move.l D2, [A5 - 0xA84]
label0000026A:
0000026A D0C0 add.w A0, D0
0000026C B1C2 cmpa.l A0, D2
0000026E 64D0 bcc -0x2E /* 00000240 */
label00000270:
00000270 3010 move.w D0, [A0]
00000272 6BE4 bmi -0x1A /* 00000258 */
00000274 7200 moveq.l D1, 0x00
label00000276:
00000276 D041 add.w D0, D1
00000278 3230 0000 move.w D1, [A0 + D0.w]
0000027C 6AF8 bpl -0x6 /* 00000276 */
0000027E 3080 move.w [A0], D0
00000280 B047 cmp.w D0, D7
00000282 65E6 bcs -0x18 /* 0000026A */
label00000284:
00000284 2248 movea.l A1, A0
00000286 D2C7 add.w A1, D7
00000288 2B49 F57C move.l [A5 - 0xA84], A1
0000028C 9047 sub.w D0, D7
0000028E 6702 beq +0x4 /* 00000292 */
00000290 3280 move.w [A1], D0
label00000292:
00000292 4647 not.w D7
00000294 30C7 move.w [A0]+, D7
label00000296:
00000296 2008 move.l D0, A0
00000298 2E1F move.l D7, [A7]+
0000029A 4E5E unlink A6
0000029C 4E75 rts
fn0000029E:
0000029E 4E56 0000 link A6, 0
000002A2 2F0C move.l -[A7], A4
000002A4 0C6D 0021 F64E cmpi.w [A5 - 0x9B2], 0x21 /* '!' */
000002AA 6F04 ble +0x6 /* 000002B0 */
000002AC 70FF moveq.l D0, 0xFFFFFFFF
000002AE 6034 bra +0x36 /* 000002E4 */
label000002B0:
000002B0 302D F64E move.w D0, [A5 - 0x9B2]
000002B4 526D F64E addq.w [A5 - 0x9B2], 1
000002B8 C1FC 0006 muls.w D0, 0x6
000002BC 41ED F582 lea.l A0, [A5 - 0xA7E]
000002C0 D1C0 add.l A0, D0
000002C2 2848 movea.l A4, A0
000002C4 28AE 0008 move.l [A4], [A6 + 0x8]
000002C8 4AAD F650 tst.l [A5 - 0x9B0]
000002CC 6614 bne +0x16 /* 000002E2 */
000002CE 41ED 009A lea.l A0, [A5 + 0x9A /* export_15 */]
000002D2 2D48 0008 move.l [A6 + 0x8], A0
000002D6 2B6D 006C F650 move.l [A5 - 0x9B0], [A5 + 0x6C]
000002DC 2B6E 0008 006C move.l [A5 + 0x6C], [A6 + 0x8]
label000002E2:
000002E2 7000 moveq.l D0, 0x00
label000002E4:
000002E4 285F movea.l A4, [A7]+
000002E6 4E5E unlink A6
000002E8 4E75 rts
fn000002EA:
000002EA 4E56 0000 link A6, 0
000002EE 2F0C move.l -[A7], A4
000002F0 0C6D 0021 F64E cmpi.w [A5 - 0x9B2], 0x21 /* '!' */
000002F6 6F04 ble +0x6 /* 000002FC */
000002F8 70FF moveq.l D0, 0xFFFFFFFF
000002FA 605A bra +0x5C /* 00000356 */
label000002FC:
000002FC 302D F64E move.w D0, [A5 - 0x9B2]
00000300 526D F64E addq.w [A5 - 0x9B2], 1
00000304 C1FC 0006 muls.w D0, 0x6
00000308 41ED F582 lea.l A0, [A5 - 0xA7E]
0000030C D1C0 add.l A0, D0
0000030E 2848 movea.l A4, A0
00000310 28AE 0008 move.l [A4], [A6 + 0x8]
00000314 7001 moveq.l D0, 0x01
00000316 3940 0004 move.w [A4 + 0x4], D0
0000031A 4AAD F654 tst.l [A5 - 0x9AC]
0000031E 6634 bne +0x36 /* 00000354 */
00000320 41ED 00A2 lea.l A0, [A5 + 0xA2 /* export_16 */]
00000324 2D48 0008 move.l [A6 + 0x8], A0
00000328 303C A9F4 move.w D0, 0xA9F4
0000032C A146 syscall GetTrapAddress, flags=1
0000032E 2B48 F654 move.l [A5 - 0x9AC], A0
00000332 206E 0008 movea.l A0, [A6 + 0x8]
00000336 4A78 028E tst.w [0x0000028E /* ROM85 */]
0000033A 6A12 bpl +0x14 /* 0000034E */
0000033C 7006 moveq.l D0, 0x06
0000033E A51E syscall NewPtrSys, flags=5
00000340 2B48 F658 move.l [A5 - 0x9A8], A0
00000344 30BC 4EF9 move.w [A0], 0x4EF9
00000348 216E 0008 0002 move.l [A0 + 0x2], [A6 + 0x8]
label0000034E:
0000034E 303C A9F4 move.w D0, 0xA9F4
00000352 A047 syscall SetTrapAddress
label00000354:
00000354 7000 moveq.l D0, 0x00
label00000356:
00000356 285F movea.l A4, [A7]+
00000358 4E5E unlink A6
0000035A 4E75 rts
fn0000035C:
0000035C 4E56 FFFE link A6, -0x0002
00000360 3D6D F64E FFFE move.w [A6 - 0x2], [A5 - 0x9B2]
00000366 7001 moveq.l D0, 0x01
00000368 3B40 F64E move.w [A5 - 0x9B2], D0
0000036C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000370 4EBA FF2C jsr [PC - 0xD4 /* 0000029E */]
00000374 588F addq.l A7, 4
00000376 3B6E FFFE F64E move.w [A5 - 0x9B2], [A6 - 0x2]
0000037C 4E5E unlink A6
0000037E 4E75 rts
fn00000380:
00000380 4E56 FFFE link A6, -0x0002
00000384 3D6D F64E FFFE move.w [A6 - 0x2], [A5 - 0x9B2]
0000038A 426D F64E clr.w [A5 - 0x9B2]
0000038E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000392 4EBA FF56 jsr [PC - 0xAA /* 000002EA */]
00000396 588F addq.l A7, 4
00000398 3B6E FFFE F64E move.w [A5 - 0x9B2], [A6 - 0x2]
0000039E 4E5E unlink A6
000003A0 4E75 rts
export_18:
fn000003A2:
000003A2 4E56 0000 link A6, 0
000003A6 206D 006C movea.l A0, [A5 + 0x6C]
000003AA 4E90 jsr [A0]
000003AC A9F4 syscall ExitToShell
000003AE 4E5E unlink A6
000003B0 4E75 rts
000003B2 4E56 0000 link A6, 0
000003B6 A9F4 syscall ExitToShell
000003B8 4E5E unlink A6
000003BA 4E75 rts
export_15:
000003BC 3F3C 0001 move.w -[A7], 0x1
000003C0 4EBA 0012 jsr [PC + 0x12 /* 000003D4 */]
000003C4 548F addq.l A7, 2
000003C6 4E75 rts
export_16:
000003C8 4267 clr.w -[A7]
000003CA 4EBA 0008 jsr [PC + 0x8 /* 000003D4 */]
000003CE 548F addq.l A7, 2
000003D0 A9F4 syscall ExitToShell
000003D2 4E75 rts
fn000003D4:
000003D4 4E56 FFFA link A6, -0x0006
000003D8 2F0C move.l -[A7], A4
000003DA 41ED F64E lea.l A0, [A5 - 0x9B2]
000003DE 2848 movea.l A4, A0
000003E0 2F0D move.l -[A7], A5
000003E2 2A78 0904 movea.l A5, [0x00000904 /* CurrentA5 */]
000003E6 4A6E 0008 tst.w [A6 + 0x8]
000003EA 6606 bne +0x8 /* 000003F2 */
000003EC 7001 moveq.l D0, 0x01
000003EE 3B40 F580 move.w [A5 - 0xA80], D0
label000003F2:
000003F2 41ED F64E lea.l A0, [A5 - 0x9B2]
000003F6 2848 movea.l A4, A0
000003F8 7022 moveq.l D0, 0x22
000003FA 3D40 FFFA move.w [A6 - 0x6], D0
000003FE 601C bra +0x1E /* 0000041C */
label00000400:
00000400 5D8C subq.l A4, 6
00000402 2D54 FFFC move.l [A6 - 0x4], [A4]
00000406 6714 beq +0x16 /* 0000041C */
00000408 4294 clr.l [A4]
0000040A 4A6E 0008 tst.w [A6 + 0x8]
0000040E 6606 bne +0x8 /* 00000416 */
00000410 4A6C 0004 tst.w [A4 + 0x4]
00000414 6706 beq +0x8 /* 0000041C */
label00000416:
00000416 206E FFFC movea.l A0, [A6 - 0x4]
0000041A 4E90 jsr [A0]
label0000041C:
0000041C 302E FFFA move.w D0, [A6 - 0x6]
00000420 536E FFFA subq.w [A6 - 0x6], 1
00000424 4A40 tst.w D0
00000426 66D8 bne -0x26 /* 00000400 */
00000428 202D F658 move.l D0, [A5 - 0x9A8]
0000042C 6708 beq +0xA /* 00000436 */
0000042E 2040 movea.l A0, D0
00000430 A01F syscall DisposPtr/DisposePtr
00000432 42AD F658 clr.l [A5 - 0x9A8]
label00000436:
00000436 202D F654 move.l D0, [A5 - 0x9AC]
0000043A 670C beq +0xE /* 00000448 */
0000043C 2040 movea.l A0, D0
0000043E 303C A9F4 move.w D0, 0xA9F4
00000442 A047 syscall SetTrapAddress
00000444 42AD F654 clr.l [A5 - 0x9AC]
label00000448:
00000448 206D 006C movea.l A0, [A5 + 0x6C]
0000044C 202D F650 move.l D0, [A5 - 0x9B0]
00000450 6702 beq +0x4 /* 00000454 */
00000452 2040 movea.l A0, D0
label00000454:
00000454 4E90 jsr [A0]
00000456 41ED 00AA lea.l A0, [A5 + 0xAA /* export_17 */]
0000045A 2B48 F650 move.l [A5 - 0x9B0], A0
0000045E 2A5F movea.l A5, [A7]+
00000460 285F movea.l A4, [A7]+
00000462 4E5E unlink A6
00000464 4E75 rts
export_17:
00000466 4E75 rts
export_20:
fn00000468:
00000468 4E56 0000 link A6, 0
0000046C 2F0C move.l -[A7], A4
0000046E 286E 0008 movea.l A4, [A6 + 0x8]
00000472 42AC 0012 clr.l [A4 + 0x12]
00000476 2F0C move.l -[A7], A4
00000478 4EBA 4B4A jsr [PC + 0x4B4A /* 00004FC4 */]
0000047C 588F addq.l A7, 4
0000047E 082C 0007 0001 btst.b [A4 + 0x1], 0x7
00000484 671A beq +0x1C /* 000004A0 */
00000486 202C 000A move.l D0, [A4 + 0xA]
0000048A 2940 0012 move.l [A4 + 0x12], D0
0000048E D1AC 0016 add.l [A4 + 0x16], D0
00000492 296C 0006 000E move.l [A4 + 0xE], [A4 + 0x6]
00000498 08AC 0007 0001 bclr.b [A4 + 0x1], 0x7
0000049E 6018 bra +0x1A /* 000004B8 */
label000004A0:
000004A0 2F0C move.l -[A7], A4
000004A2 4EBA 00D6 jsr [PC + 0xD6 /* 0000057A */]
000004A6 588F addq.l A7, 4
000004A8 2F0C move.l -[A7], A4
000004AA 4EBA 4CC2 jsr [PC + 0x4CC2 /* 0000516E */]
000004AE 588F addq.l A7, 4
000004B0 4A40 tst.w D0
000004B2 6704 beq +0x6 /* 000004B8 */
000004B4 70FF moveq.l D0, 0xFFFFFFFF
000004B6 6010 bra +0x12 /* 000004C8 */
label000004B8:
000004B8 53AC 0012 subq.l [A4 + 0x12], 1
000004BC 206C 000E movea.l A0, [A4 + 0xE]
000004C0 52AC 000E addq.l [A4 + 0xE], 1
000004C4 7000 moveq.l D0, 0x00
000004C6 1010 move.b D0, [A0]
label000004C8:
000004C8 285F movea.l A4, [A7]+
000004CA 4E5E unlink A6
000004CC 4E75 rts
export_19:
fn000004CE:
000004CE 4E56 0000 link A6, 0
000004D2 2F0C move.l -[A7], A4
000004D4 286E 000A movea.l A4, [A6 + 0xA]
000004D8 0814 0003 btst.b [A4], 0x3
000004DC 664A bne +0x4C /* 00000528 */
000004DE 2F0C move.l -[A7], A4
000004E0 4EBA 4AE2 jsr [PC + 0x4AE2 /* 00004FC4 */]
000004E4 588F addq.l A7, 4
000004E6 0814 0001 btst.b [A4], 0x1
000004EA 6706 beq +0x8 /* 000004F2 */
000004EC 296C 001A 0016 move.l [A4 + 0x16], [A4 + 0x1A]
label000004F2:
000004F2 2F0C move.l -[A7], A4
000004F4 4EBA 0084 jsr [PC + 0x84 /* 0000057A */]
000004F8 588F addq.l A7, 4
000004FA 4AAC 001E tst.l [A4 + 0x1E]
000004FE 6706 beq +0x8 /* 00000506 */
00000500 7001 moveq.l D0, 0x01
00000502 2940 0012 move.l [A4 + 0x12], D0
label00000506:
00000506 08D4 0003 bset.b [A4], 0x3
0000050A 53AC 0012 subq.l [A4 + 0x12], 1
0000050E 4AAC 0012 tst.l [A4 + 0x12]
00000512 6714 beq +0x16 /* 00000528 */
00000514 206C 000E movea.l A0, [A4 + 0xE]
00000518 52AC 000E addq.l [A4 + 0xE], 1
0000051C 102E 0009 move.b D0, [A6 + 0x9]
00000520 1080 move.b [A0], D0
00000522 0240 00FF andi.w D0, 0xFF
00000526 604C bra +0x4E /* 00000574 */
label00000528:
00000528 206C 000E movea.l A0, [A4 + 0xE]
0000052C 52AC 000E addq.l [A4 + 0xE], 1
00000530 7000 moveq.l D0, 0x00
00000532 102E 0009 move.b D0, [A6 + 0x9]
00000536 3D40 0008 move.w [A6 + 0x8], D0
0000053A 1080 move.b [A0], D0
0000053C 4AAC 001E tst.l [A4 + 0x1E]
00000540 671E beq +0x20 /* 00000560 */
00000542 0C6E 0020 0008 cmpi.w [A6 + 0x8], 0x20 /* ' ' */
00000548 6D16 blt +0x18 /* 00000560 */
0000054A 202C 000E move.l D0, [A4 + 0xE]
0000054E 90AC 0006 sub.l D0, [A4 + 0x6]
00000552 B0AC 000A cmp.l D0, [A4 + 0xA]
00000556 6408 bcc +0xA /* 00000560 */
00000558 7001 moveq.l D0, 0x01
0000055A 2940 0012 move.l [A4 + 0x12], D0
0000055E 6010 bra +0x12 /* 00000570 */
label00000560:
00000560 2F0C move.l -[A7], A4
00000562 4EBA 005A jsr [PC + 0x5A /* 000005BE */]
00000566 588F addq.l A7, 4
00000568 4A40 tst.w D0
0000056A 6704 beq +0x6 /* 00000570 */
0000056C 70FF moveq.l D0, 0xFFFFFFFF
0000056E 6004 bra +0x6 /* 00000574 */
label00000570:
00000570 302E 0008 move.w D0, [A6 + 0x8]
label00000574:
00000574 285F movea.l A4, [A7]+
00000576 4E5E unlink A6
00000578 4E75 rts
fn0000057A:
0000057A 4E56 0000 link A6, 0
0000057E 2F0C move.l -[A7], A4
00000580 286E 0008 movea.l A4, [A6 + 0x8]
00000584 296C 0006 000E move.l [A4 + 0xE], [A4 + 0x6]
0000058A 296C 000A 0012 move.l [A4 + 0x12], [A4 + 0xA]
00000590 4A6C 0004 tst.w [A4 + 0x4]
00000594 6F1A ble +0x1C /* 000005B0 */
00000596 0CAC 0000 0001 000A cmpi.l [A4 + 0xA], 0x1
0000059E 6310 bls +0x12 /* 000005B0 */
000005A0 2F2C 000A move.l -[A7], [A4 + 0xA]
000005A4 2F2C 0016 move.l -[A7], [A4 + 0x16]
000005A8 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
000005AC 91AC 0012 sub.l [A4 + 0x12], D0
label000005B0:
000005B0 202C 0012 move.l D0, [A4 + 0x12]
000005B4 D1AC 0016 add.l [A4 + 0x16], D0
000005B8 285F movea.l A4, [A7]+
000005BA 4E5E unlink A6
000005BC 4E75 rts
fn000005BE:
000005BE 4E56 FFFE link A6, -0x0002
000005C2 2F0C move.l -[A7], A4
000005C4 286E 0008 movea.l A4, [A6 + 0x8]
000005C8 426E FFFE clr.w [A6 - 0x2]
000005CC 202C 0012 move.l D0, [A4 + 0x12]
000005D0 91AC 0016 sub.l [A4 + 0x16], D0
000005D4 0814 0003 btst.b [A4], 0x3
000005D8 6722 beq +0x24 /* 000005FC */
000005DA 202C 000E move.l D0, [A4 + 0xE]
000005DE 90AC 0006 sub.l D0, [A4 + 0x6]
000005E2 2940 0012 move.l [A4 + 0x12], D0
000005E6 296C 0006 000E move.l [A4 + 0xE], [A4 + 0x6]
000005EC 0894 0003 bclr.b [A4], 0x3
000005F0 2F0C move.l -[A7], A4
000005F2 4EBA 4B94 jsr [PC + 0x4B94 /* 00005188 */]
000005F6 588F addq.l A7, 4
000005F8 3D40 FFFE move.w [A6 - 0x2], D0
label000005FC:
000005FC 2F0C move.l -[A7], A4
000005FE 4EBA 000E jsr [PC + 0xE /* 0000060E */]
00000602 588F addq.l A7, 4
00000604 302E FFFE move.w D0, [A6 - 0x2]
00000608 285F movea.l A4, [A7]+
0000060A 4E5E unlink A6
0000060C 4E75 rts
fn0000060E:
0000060E 4E56 0000 link A6, 0
00000612 2F0C move.l -[A7], A4
00000614 286E 0008 movea.l A4, [A6 + 0x8]
00000618 202C 0006 move.l D0, [A4 + 0x6]
0000061C D0AC 000A add.l D0, [A4 + 0xA]
00000620 2940 000E move.l [A4 + 0xE], D0
00000624 42AC 0012 clr.l [A4 + 0x12]
00000628 08AC 0007 0001 bclr.b [A4 + 0x1], 0x7
0000062E 285F movea.l A4, [A7]+
00000630 4E5E unlink A6
00000632 4E75 rts
export_22:
00000634 4E56 FE1E link A6, -0x01E2
00000638 486D FB66 pea.l [A5 - 0x49A]
0000063C 4EBA 085E jsr [PC + 0x85E /* 00000E9C */]
00000640 588F addq.l A7, 4
00000642 4EBA 01BE jsr [PC + 0x1BE /* 00000802 */]
00000646 486D F6C4 pea.l [A5 - 0x93C]
0000064A 486E FE1E pea.l [A6 - 0x1E2]
0000064E 4EBA 03B8 jsr [PC + 0x3B8 /* 00000A08 */]
00000652 508F addq.l A7, 8
00000654 3F3C 0004 move.w -[A7], 0x4
00000658 4EBA 02AC jsr [PC + 0x2AC /* 00000906 */]
0000065C 548F addq.l A7, 2
0000065E 2F00 move.l -[A7], D0
00000660 3F3C 0001 move.w -[A7], 0x1
00000664 A963 syscall SetControlValue/SetCtlValue
00000666 3F3C 0006 move.w -[A7], 0x6
0000066A 4EBA 029A jsr [PC + 0x29A /* 00000906 */]
0000066E 548F addq.l A7, 2
00000670 2F00 move.l -[A7], D0
00000672 3F3C 0001 move.w -[A7], 0x1
00000676 A963 syscall SetControlValue/SetCtlValue
00000678 2F2D F87C move.l -[A7], [A5 - 0x784]
0000067C A915 syscall ShowWindow
label0000067E:
0000067E 42A7 clr.l -[A7]
00000680 486E FFFE pea.l [A6 - 0x2]
00000684 A991 syscall ModalDialog
00000686 302E FFFE move.w D0, [A6 - 0x2]
0000068A 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
0000068E 0002 0009 ori.b D2, 0x9 /* '\t' */
00000692 008E 0010 008A ori.l A6, 0x10008A
00000698 0034 000E 006C ori.b [A4 + D0.w + 0x6C], 0xE
0000069E 0048 0046 ori.w A0, 0x46 /* 'F' */
000006A2 0066 4EBA ori.w -[A6], 0x4EBA
000006A6 4910 .invalid 4, [A0] // invalid opcode 4 with b == 4
000006A8 486E FF1E pea.l [A6 - 0xE2]
000006AC 4EBA 02DC jsr [PC + 0x2DC /* 0000098A */]
000006B0 588F addq.l A7, 4
000006B2 4A2E FF1E tst.b [A6 - 0xE2]
000006B6 6700 0068 beq +0x6A /* 00000720 */
000006BA 41EE FFB2 lea.l A0, [A6 - 0x4E]
000006BE 43EE FF1E lea.l A1, [A6 - 0xE2]
000006C2 7011 moveq.l D0, 0x11
label000006C4:
000006C4 20D9 move.l [A0]+, [A1]+
000006C6 51C8 FFFC dbf D0, -0x6 /* 000006C4 */
000006CA 30D9 move.w [A0]+, [A1]+
000006CC 302E FFFE move.w D0, [A6 - 0x2]
000006D0 3B40 F888 move.w [A5 - 0x778], D0
000006D4 3F3C 0002 move.w -[A7], 0x2
000006D8 3F3C 0004 move.w -[A7], 0x4
000006DC 3F00 move.w -[A7], D0
000006DE 4EBA 0248 jsr [PC + 0x248 /* 00000928 */]
000006E2 5C8F addq.l A7, 6
000006E4 603A bra +0x3C /* 00000720 */
000006E6 486E FF1E pea.l [A6 - 0xE2]
000006EA 4EBA 02C6 jsr [PC + 0x2C6 /* 000009B2 */]
000006EE 588F addq.l A7, 4
000006F0 4A2E FF1E tst.b [A6 - 0xE2]
000006F4 672A beq +0x2C /* 00000720 */
000006F6 41EE FF68 lea.l A0, [A6 - 0x98]
000006FA 43EE FF1E lea.l A1, [A6 - 0xE2]
000006FE 7011 moveq.l D0, 0x11
label00000700:
00000700 20D9 move.l [A0]+, [A1]+
00000702 51C8 FFFC dbf D0, -0x6 /* 00000700 */
00000706 30D9 move.w [A0]+, [A1]+
00000708 302E FFFE move.w D0, [A6 - 0x2]
0000070C 3B40 F88A move.w [A5 - 0x776], D0
00000710 3F3C 0004 move.w -[A7], 0x4
00000714 3F3C 0006 move.w -[A7], 0x6
00000718 3F00 move.w -[A7], D0
0000071A 4EBA 020C jsr [PC + 0x20C /* 00000928 */]
0000071E 5C8F addq.l A7, 6
label00000720:
00000720 0C6E 0001 FFFE cmpi.w [A6 - 0x2], 0x1
00000726 6600 FF56 bne -0xA8 /* 0000067E */
0000072A 3F3C 0003 move.w -[A7], 0x3
0000072E 4EBA 01D6 jsr [PC + 0x1D6 /* 00000906 */]
00000732 548F addq.l A7, 2
00000734 2F00 move.l -[A7], D0
00000736 486D F6C4 pea.l [A5 - 0x93C]
0000073A A990 syscall GetDialogItemText/GetIText
0000073C 486D F6C4 pea.l [A5 - 0x93C]
00000740 486D F88C pea.l [A5 - 0x774]
00000744 486E FE1E pea.l [A6 - 0x1E2]
00000748 4EBA 4986 jsr [PC + 0x4986 /* 000050D0 */]
0000074C 4FEF 000C lea.l A7, [A7 + 0xC]
00000750 486D F6C4 pea.l [A5 - 0x93C]
00000754 486E FE1E pea.l [A6 - 0x1E2]
00000758 4EBA 03EE jsr [PC + 0x3EE /* 00000B48 */]
0000075C 508F addq.l A7, 8
0000075E 3D40 FFFC move.w [A6 - 0x4], D0
00000762 41ED F65C lea.l A0, [A5 - 0x9A4]
00000766 226E 0008 movea.l A1, [A6 + 0x8]
0000076A 2288 move.l [A1], A0
0000076C 2F2D F87C move.l -[A7], [A5 - 0x784]
00000770 A983 syscall DisposeDialog
00000772 0C6D 0009 F88A cmpi.w [A5 - 0x776], 0x9 /* '\t' */
00000778 660C bne +0xE /* 00000786 */
0000077A 486D FB8C pea.l [A5 - 0x474]
0000077E 4EBA 07B0 jsr [PC + 0x7B0 /* 00000F30 */]
00000782 588F addq.l A7, 4
00000784 6046 bra +0x48 /* 000007CC */
label00000786:
00000786 0C6D 0006 F88A cmpi.w [A5 - 0x776], 0x6
0000078C 673E beq +0x40 /* 000007CC */
0000078E 486E FF68 pea.l [A6 - 0x98]
00000792 486E FF28 pea.l [A6 - 0xD8]
00000796 4EBA 023C jsr [PC + 0x23C /* 000009D4 */]
0000079A 508F addq.l A7, 8
0000079C 0C6D 0007 F88A cmpi.w [A5 - 0x776], 0x7
000007A2 6616 bne +0x18 /* 000007BA */
000007A4 486D FB8C pea.l [A5 - 0x474]
000007A8 486D F890 pea.l [A5 - 0x770]
000007AC 486E FF28 pea.l [A6 - 0xD8]
000007B0 4EBA 2398 jsr [PC + 0x2398 /* 00002B4A */]
000007B4 4FEF 000C lea.l A7, [A7 + 0xC]
000007B8 6012 bra +0x14 /* 000007CC */
label000007BA:
000007BA 486D FB8C pea.l [A5 - 0x474]
000007BE 4267 clr.w -[A7]
000007C0 486E FF28 pea.l [A6 - 0xD8]
000007C4 4EBA 0714 jsr [PC + 0x714 /* 00000EDA */]
000007C8 4FEF 000A lea.l A7, [A7 + 0xA]
label000007CC:
000007CC 0C6D 0005 F888 cmpi.w [A5 - 0x778], 0x5
000007D2 6622 bne +0x24 /* 000007F6 */
000007D4 486E FFB2 pea.l [A6 - 0x4E]
000007D8 486E FF28 pea.l [A6 - 0xD8]
000007DC 4EBA 01F6 jsr [PC + 0x1F6 /* 000009D4 */]
000007E0 508F addq.l A7, 8
000007E2 486D FB66 pea.l [A5 - 0x49A]
000007E6 486D F892 pea.l [A5 - 0x76E]
000007EA 486E FF28 pea.l [A6 - 0xD8]
000007EE 4EBA 235A jsr [PC + 0x235A /* 00002B4A */]
000007F2 4FEF 000C lea.l A7, [A7 + 0xC]
label000007F6:
000007F6 426D FB32 clr.w [A5 - 0x4CE]
000007FA 302E FFFC move.w D0, [A6 - 0x4]
000007FE 4E5E unlink A6
00000800 4E75 rts
fn00000802:
00000802 4E56 FFFC link A6, -0x0004
00000806 41ED F7C4 lea.l A0, [A5 - 0x83C]
0000080A 203C 0000 00B8 move.l D0, 0xB8
00000810 A9E3 syscall PtrToHand
00000812 2D48 FFFC move.l [A6 - 0x4], A0
00000816 42A7 clr.l -[A7]
00000818 42A7 clr.l -[A7]
0000081A 486D F880 pea.l [A5 - 0x780]
0000081E 486D F894 pea.l [A5 - 0x76C]
00000822 4267 clr.w -[A7]
00000824 3F3C 0001 move.w -[A7], 0x1
00000828 4878 FFFF push.l 0xFFFF
0000082C 4267 clr.w -[A7]
0000082E 42A7 clr.l -[A7]
00000830 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000834 A97D syscall NewDialog
00000836 205F movea.l A0, [A7]+
00000838 2B48 F87C move.l [A5 - 0x784], A0
0000083C 3F3C 0001 move.w -[A7], 0x1
00000840 4EBA 00C4 jsr [PC + 0xC4 /* 00000906 */]
00000844 548F addq.l A7, 2
00000846 2F00 move.l -[A7], D0
00000848 486D F896 pea.l [A5 - 0x76A]
0000084C A95F syscall SetControlTitle/SetCTitle
0000084E 3F3C 0002 move.w -[A7], 0x2
00000852 4EBA 00B2 jsr [PC + 0xB2 /* 00000906 */]
00000856 548F addq.l A7, 2
00000858 2F00 move.l -[A7], D0
0000085A 486D F89A pea.l [A5 - 0x766]
0000085E A95F syscall SetControlTitle/SetCTitle
00000860 3F3C 0004 move.w -[A7], 0x4
00000864 4EBA 00A0 jsr [PC + 0xA0 /* 00000906 */]
00000868 548F addq.l A7, 2
0000086A 2F00 move.l -[A7], D0
0000086C 486D F8A2 pea.l [A5 - 0x75E]
00000870 A95F syscall SetControlTitle/SetCTitle
00000872 3F3C 0005 move.w -[A7], 0x5
00000876 4EBA 008E jsr [PC + 0x8E /* 00000906 */]
0000087A 548F addq.l A7, 2
0000087C 2F00 move.l -[A7], D0
0000087E 486D F8AA pea.l [A5 - 0x756]
00000882 A95F syscall SetControlTitle/SetCTitle
00000884 3F3C 0006 move.w -[A7], 0x6
00000888 4EBA 007C jsr [PC + 0x7C /* 00000906 */]
0000088C 548F addq.l A7, 2
0000088E 2F00 move.l -[A7], D0
00000890 486D F8B0 pea.l [A5 - 0x750]
00000894 A95F syscall SetControlTitle/SetCTitle
00000896 3F3C 0007 move.w -[A7], 0x7
0000089A 4EBA 006A jsr [PC + 0x6A /* 00000906 */]
0000089E 548F addq.l A7, 2
000008A0 2F00 move.l -[A7], D0
000008A2 486D F8B8 pea.l [A5 - 0x748]
000008A6 A95F syscall SetControlTitle/SetCTitle
000008A8 3F3C 0008 move.w -[A7], 0x8
000008AC 4EBA 0058 jsr [PC + 0x58 /* 00000906 */]
000008B0 548F addq.l A7, 2
000008B2 2F00 move.l -[A7], D0
000008B4 486D F8BE pea.l [A5 - 0x742]
000008B8 A95F syscall SetControlTitle/SetCTitle
000008BA 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
000008BE 4EBA 0046 jsr [PC + 0x46 /* 00000906 */]
000008C2 548F addq.l A7, 2
000008C4 2F00 move.l -[A7], D0
000008C6 486D F8CC pea.l [A5 - 0x734]
000008CA A95F syscall SetControlTitle/SetCTitle
000008CC 3F3C 000B move.w -[A7], 0xB
000008D0 4EBA 0034 jsr [PC + 0x34 /* 00000906 */]
000008D4 548F addq.l A7, 2
000008D6 2F00 move.l -[A7], D0
000008D8 486D F8DC pea.l [A5 - 0x724]
000008DC A98F syscall SetDialogItemText/SetIText
000008DE 3F3C 000C move.w -[A7], 0xC
000008E2 4EBA 0022 jsr [PC + 0x22 /* 00000906 */]
000008E6 548F addq.l A7, 2
000008E8 2F00 move.l -[A7], D0
000008EA 486D F8EC pea.l [A5 - 0x714]
000008EE A98F syscall SetDialogItemText/SetIText
000008F0 3F3C 000D move.w -[A7], 0xD /* '\r' */
000008F4 4EBA 0010 jsr [PC + 0x10 /* 00000906 */]
000008F8 548F addq.l A7, 2
000008FA 2F00 move.l -[A7], D0
000008FC 486D F8FE pea.l [A5 - 0x702]
00000900 A98F syscall SetDialogItemText/SetIText
00000902 4E5E unlink A6
00000904 4E75 rts
fn00000906:
00000906 4E56 FFF2 link A6, -0x000E
0000090A 2F2D F87C move.l -[A7], [A5 - 0x784]
0000090E 3F2E 0008 move.w -[A7], [A6 + 0x8]
00000912 486E FFFE pea.l [A6 - 0x2]
00000916 486E FFFA pea.l [A6 - 0x6]
0000091A 486E FFF2 pea.l [A6 - 0xE]
0000091E A98D syscall GetDialogItem/GetDItem
00000920 202E FFFA move.l D0, [A6 - 0x6]
00000924 4E5E unlink A6
00000926 4E75 rts
fn00000928:
00000928 4E56 0000 link A6, 0
0000092C 6022 bra +0x24 /* 00000950 */
label0000092E:
0000092E 3F2E 000A move.w -[A7], [A6 + 0xA]
00000932 4EBA FFD2 jsr [PC - 0x2E /* 00000906 */]
00000936 548F addq.l A7, 2
00000938 322E 0008 move.w D1, [A6 + 0x8]
0000093C B26E 000A cmp.w D1, [A6 + 0xA]
00000940 57C1 seq D1
00000942 4401 neg.b D1
00000944 4881 ext.w D1
00000946 2F00 move.l -[A7], D0
00000948 3F01 move.w -[A7], D1
0000094A A963 syscall SetControlValue/SetCtlValue
0000094C 526E 000A addq.w [A6 + 0xA], 1
label00000950:
00000950 302E 000C move.w D0, [A6 + 0xC]
00000954 536E 000C subq.w [A6 + 0xC], 1
00000958 4A40 tst.w D0
0000095A 66D2 bne -0x2C /* 0000092E */
0000095C 4E5E unlink A6
0000095E 4E75 rts
export_21:
00000960 4E56 0000 link A6, 0
00000964 A89E syscall PenNormal
00000966 3F3C 0003 move.w -[A7], 0x3
0000096A 3F3C 0003 move.w -[A7], 0x3
0000096E A89B syscall PenSize
00000970 486D F848 pea.l [A5 - 0x7B8]
00000974 3F3C 0010 move.w -[A7], 0x10
00000978 3F3C 0010 move.w -[A7], 0x10
0000097C A8B0 syscall FrameRoundRect
0000097E A89E syscall PenNormal
00000980 4E5E unlink A6
00000982 205F movea.l A0, [A7]+
00000984 4FEF 0006 lea.l A7, [A7 + 0x6]
00000988 4ED0 jmp [A0]
fn0000098A:
0000098A 4E56 0000 link A6, 0
0000098E 4879 005A 0052 push.l 0x5A0052 /* 'Z\0R' */
00000994 486D F90C pea.l [A5 - 0x6F4]
00000998 42A7 clr.l -[A7]
0000099A 3F3C 0001 move.w -[A7], 0x1
0000099E 486D F90E pea.l [A5 - 0x6F2]
000009A2 42A7 clr.l -[A7]
000009A4 2F2E 0008 move.l -[A7], [A6 + 0x8]
000009A8 3F3C 0002 move.w -[A7], 0x2
000009AC A9EA syscall Pack3
000009AE 4E5E unlink A6
000009B0 4E75 rts
fn000009B2:
000009B2 4E56 0000 link A6, 0
000009B6 4879 006A 0068 push.l 0x6A0068 /* 'j\0h' */
000009BC 486D F914 pea.l [A5 - 0x6EC]
000009C0 486D F916 pea.l [A5 - 0x6EA]
000009C4 42A7 clr.l -[A7]
000009C6 2F2E 0008 move.l -[A7], [A6 + 0x8]
000009CA 3F3C 0001 move.w -[A7], 0x1
000009CE A9EA syscall Pack3
000009D0 4E5E unlink A6
000009D2 4E75 rts
fn000009D4:
000009D4 4E56 FFCE link A6, -0x0032
000009D8 42AE FFE0 clr.l [A6 - 0x20]
000009DC 206E 000C movea.l A0, [A6 + 0xC]
000009E0 3D68 0006 FFE4 move.w [A6 - 0x1C], [A0 + 0x6]
000009E6 41EE FFCE lea.l A0, [A6 - 0x32]
000009EA A015 syscall SetVol/PBHSetVol/HSetVol
000009EC 206E 000C movea.l A0, [A6 + 0xC]
000009F0 4868 000A pea.l [A0 + 0xA]
000009F4 486D F918 pea.l [A5 - 0x6E8]
000009F8 2F2E 0008 move.l -[A7], [A6 + 0x8]
000009FC 4EBA 46D2 jsr [PC + 0x46D2 /* 000050D0 */]
00000A00 4FEF 000C lea.l A7, [A7 + 0xC]
00000A04 4E5E unlink A6
00000A06 4E75 rts
fn00000A08:
00000A08 4E56 FFF2 link A6, -0x000E
00000A0C 48E7 0018 movem.l -[A7], A3,A4
00000A10 266E 000C movea.l A3, [A6 + 0xC]
00000A14 426E FFFC clr.w [A6 - 0x4]
00000A18 426E FFFA clr.w [A6 - 0x6]
00000A1C 426E FFF8 clr.w [A6 - 0x8]
00000A20 426E FFF6 clr.w [A6 - 0xA]
00000A24 286E 0008 movea.l A4, [A6 + 0x8]
00000A28 4878 0910 push.l 0x910
00000A2C 486D F91C pea.l [A5 - 0x6E4]
00000A30 2F0C move.l -[A7], A4
00000A32 4EBA 469C jsr [PC + 0x469C /* 000050D0 */]
00000A36 4FEF 000C lea.l A7, [A7 + 0xC]
00000A3A 602E bra +0x30 /* 00000A6A */
label00000A3C:
00000A3C 0C6E 0020 FFFE cmpi.w [A6 - 0x2], 0x20 /* ' ' */
00000A42 6608 bne +0xA /* 00000A4C */
00000A44 7001 moveq.l D0, 0x01
00000A46 3D40 FFFC move.w [A6 - 0x4], D0
00000A4A 601E bra +0x20 /* 00000A6A */
label00000A4C:
00000A4C 0C6E 0022 FFFE cmpi.w [A6 - 0x2], 0x22 /* '\"' */
00000A52 6608 bne +0xA /* 00000A5C */
00000A54 7001 moveq.l D0, 0x01
00000A56 3D40 FFFA move.w [A6 - 0x6], D0
00000A5A 600E bra +0x10 /* 00000A6A */
label00000A5C:
00000A5C 0C6E 0027 FFFE cmpi.w [A6 - 0x2], 0x27 /* '\'' */
00000A62 6606 bne +0x8 /* 00000A6A */
00000A64 7001 moveq.l D0, 0x01
00000A66 3D40 FFF8 move.w [A6 - 0x8], D0
label00000A6A:
00000A6A 41D4 lea.l A0, [A4]
00000A6C 528C addq.l A4, 1
00000A6E 1010 move.b D0, [A0]
00000A70 4880 ext.w D0
00000A72 3D40 FFFE move.w [A6 - 0x2], D0
00000A76 4A40 tst.w D0
00000A78 66C2 bne -0x3C /* 00000A3C */
00000A7A 4A6E FFFC tst.w [A6 - 0x4]
00000A7E 660C bne +0xE /* 00000A8C */
00000A80 4A6E FFFA tst.w [A6 - 0x6]
00000A84 6606 bne +0x8 /* 00000A8C */
00000A86 4A6E FFF8 tst.w [A6 - 0x8]
00000A8A 672A beq +0x2C /* 00000AB6 */
label00000A8C:
00000A8C 41D3 lea.l A0, [A3]
00000A8E 528B addq.l A3, 1
00000A90 4A6E FFFA tst.w [A6 - 0x6]
00000A94 670C beq +0xE /* 00000AA2 */
00000A96 4A6E FFF8 tst.w [A6 - 0x8]
00000A9A 6606 bne +0x8 /* 00000AA2 */
00000A9C 48E7 0080 movem.l -[A7], A0
00000AA0 6008 bra +0xA /* 00000AAA */
label00000AA2:
00000AA2 48E7 0080 movem.l -[A7], A0
00000AA6 7022 moveq.l D0, 0x22
00000AA8 6002 bra +0x4 /* 00000AAC */
label00000AAA:
00000AAA 7027 moveq.l D0, 0x27
label00000AAC:
00000AAC 4CDF 0100 movem.l A0, [A7]+
00000AB0 3D40 FFF6 move.w [A6 - 0xA], D0
00000AB4 1080 move.b [A0], D0
label00000AB6:
00000AB6 286E 0008 movea.l A4, [A6 + 0x8]
00000ABA 6022 bra +0x24 /* 00000ADE */
label00000ABC:
00000ABC 302E FFFE move.w D0, [A6 - 0x2]
00000AC0 B06E FFF6 cmp.w D0, [A6 - 0xA]
00000AC4 6708 beq +0xA /* 00000ACE */
00000AC6 0C6E 005C FFFE cmpi.w [A6 - 0x2], 0x5C /* '\\' */
00000ACC 6608 bne +0xA /* 00000AD6 */
label00000ACE:
00000ACE 41D3 lea.l A0, [A3]
00000AD0 528B addq.l A3, 1
00000AD2 705C moveq.l D0, 0x5C
00000AD4 1080 move.b [A0], D0
label00000AD6:
00000AD6 41D3 lea.l A0, [A3]
00000AD8 528B addq.l A3, 1
00000ADA 10AE FFFF move.b [A0], [A6 - 0x1]
label00000ADE:
00000ADE 41D4 lea.l A0, [A4]
00000AE0 528C addq.l A4, 1
00000AE2 1010 move.b D0, [A0]
00000AE4 4880 ext.w D0
00000AE6 3D40 FFFE move.w [A6 - 0x2], D0
00000AEA 4A40 tst.w D0
00000AEC 66CE bne -0x30 /* 00000ABC */
00000AEE 4A6E FFF6 tst.w [A6 - 0xA]
00000AF2 6708 beq +0xA /* 00000AFC */
00000AF4 41D3 lea.l A0, [A3]
00000AF6 528B addq.l A3, 1
00000AF8 10AE FFF7 move.b [A0], [A6 - 0x9]
label00000AFC:
00000AFC 41D3 lea.l A0, [A3]
00000AFE 528B addq.l A3, 1
00000B00 7020 moveq.l D0, 0x20
00000B02 1080 move.b [A0], D0
00000B04 41D3 lea.l A0, [A3]
00000B06 528B addq.l A3, 1
00000B08 4210 clr.b [A0]
00000B0A 3F3C 0003 move.w -[A7], 0x3
00000B0E 4EBA FDF6 jsr [PC - 0x20A /* 00000906 */]
00000B12 548F addq.l A7, 2
00000B14 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000B18 2F2E 000C move.l -[A7], [A6 + 0xC]
00000B1C 2D40 FFF2 move.l [A6 - 0xE], D0
00000B20 4EBA 44F2 jsr [PC + 0x44F2 /* 00005014 */]
00000B24 508F addq.l A7, 8
00000B26 2F2E FFF2 move.l -[A7], [A6 - 0xE]
00000B2A 2F00 move.l -[A7], D0
00000B2C A98F syscall SetDialogItemText/SetIText
00000B2E 2F2D F87C move.l -[A7], [A5 - 0x784]
00000B32 3F3C 0003 move.w -[A7], 0x3
00000B36 3F3C 270F move.w -[A7], 0x270F
00000B3A 3F3C 270F move.w -[A7], 0x270F
00000B3E A97E syscall SelectDialogItemText/SelIText
00000B40 4CDF 1800 movem.l A3,A4, [A7]+
00000B44 4E5E unlink A6
00000B46 4E75 rts
fn00000B48:
00000B48 4E56 FFFA link A6, -0x0006
00000B4C 48E7 0018 movem.l -[A7], A3,A4
00000B50 286E 0008 movea.l A4, [A6 + 0x8]
00000B54 266E 000C movea.l A3, [A6 + 0xC]
00000B58 426E FFFC clr.w [A6 - 0x4]
00000B5C 426E FFFA clr.w [A6 - 0x6]
00000B60 6000 009A bra +0x9C /* 00000BFC */
label00000B64:
00000B64 0C6E 0020 FFFE cmpi.w [A6 - 0x2], 0x20 /* ' ' */
00000B6A 6700 0090 beq +0x92 /* 00000BFC */
00000B6E 0C6E 0019 FFFA cmpi.w [A6 - 0x6], 0x19
00000B74 6C14 bge +0x16 /* 00000B8A */
00000B76 302E FFFA move.w D0, [A6 - 0x6]
00000B7A 526E FFFA addq.w [A6 - 0x6], 1
00000B7E 48C0 ext.l D0
00000B80 E580 asl D0, 2
00000B82 41ED F65C lea.l A0, [A5 - 0x9A4]
00000B86 D1C0 add.l A0, D0
00000B88 208B move.l [A0], A3
label00000B8A:
00000B8A 0C6E 005C FFFE cmpi.w [A6 - 0x2], 0x5C /* '\\' */
00000B90 6612 bne +0x14 /* 00000BA4 */
00000B92 4A14 tst.b [A4]
00000B94 670E beq +0x10 /* 00000BA4 */
00000B96 41D4 lea.l A0, [A4]
00000B98 528C addq.l A4, 1
00000B9A 1010 move.b D0, [A0]
00000B9C 4880 ext.w D0
00000B9E 3D40 FFFE move.w [A6 - 0x2], D0
00000BA2 602E bra +0x30 /* 00000BD2 */
label00000BA4:
00000BA4 0C6E 0022 FFFE cmpi.w [A6 - 0x2], 0x22 /* '\"' */
00000BAA 6708 beq +0xA /* 00000BB4 */
00000BAC 0C6E 0027 FFFE cmpi.w [A6 - 0x2], 0x27 /* '\'' */
00000BB2 661E bne +0x20 /* 00000BD2 */
label00000BB4:
00000BB4 4A6E FFFC tst.w [A6 - 0x4]
00000BB8 6608 bne +0xA /* 00000BC2 */
00000BBA 3D6E FFFE FFFC move.w [A6 - 0x4], [A6 - 0x2]
00000BC0 6018 bra +0x1A /* 00000BDA */
label00000BC2:
00000BC2 302E FFFE move.w D0, [A6 - 0x2]
00000BC6 B06E FFFC cmp.w D0, [A6 - 0x4]
00000BCA 6606 bne +0x8 /* 00000BD2 */
00000BCC 426E FFFC clr.w [A6 - 0x4]
00000BD0 6008 bra +0xA /* 00000BDA */
label00000BD2:
00000BD2 41D3 lea.l A0, [A3]
00000BD4 528B addq.l A3, 1
00000BD6 10AE FFFF move.b [A0], [A6 - 0x1]
label00000BDA:
00000BDA 4A14 tst.b [A4]
00000BDC 6718 beq +0x1A /* 00000BF6 */
00000BDE 41D4 lea.l A0, [A4]
00000BE0 528C addq.l A4, 1
00000BE2 1010 move.b D0, [A0]
00000BE4 4880 ext.w D0
00000BE6 3D40 FFFE move.w [A6 - 0x2], D0
00000BEA 0C40 0020 cmpi.w D0, 0x20 /* ' ' */
00000BEE 669A bne -0x64 /* 00000B8A */
00000BF0 4A6E FFFC tst.w [A6 - 0x4]
00000BF4 6694 bne -0x6A /* 00000B8A */
label00000BF6:
00000BF6 41D3 lea.l A0, [A3]
00000BF8 528B addq.l A3, 1
00000BFA 4210 clr.b [A0]
label00000BFC:
00000BFC 41D4 lea.l A0, [A4]
00000BFE 528C addq.l A4, 1
00000C00 1010 move.b D0, [A0]
00000C02 4880 ext.w D0
00000C04 3D40 FFFE move.w [A6 - 0x2], D0
00000C08 4A40 tst.w D0
00000C0A 6600 FF58 bne -0xA6 /* 00000B64 */
00000C0E 302E FFFA move.w D0, [A6 - 0x6]
00000C12 4CDF 1800 movem.l A3,A4, [A7]+
00000C16 4E5E unlink A6
00000C18 4E75 rts
00000C1A 4EBA 27C0 jsr [PC + 0x27C0 /* 000033DC */]
00000C1E 2F00 move.l -[A7], D0
00000C20 42A7 clr.l -[A7]
00000C22 4EBA 0006 jsr [PC + 0x6 /* 00000C2A */]
00000C26 508F addq.l A7, 8
00000C28 4E75 rts
fn00000C2A:
00000C2A 4E56 0000 link A6, 0
00000C2E 48E7 0018 movem.l -[A7], A3,A4
00000C32 286E 0008 movea.l A4, [A6 + 0x8]
00000C36 266E 000C movea.l A3, [A6 + 0xC]
00000C3A B6FC 0000 cmpa.w A3, 0x0
00000C3E 6606 bne +0x8 /* 00000C46 */
00000C40 7000 moveq.l D0, 0x00
00000C42 6000 0054 bra +0x56 /* 00000C98 */
label00000C46:
00000C46 4A38 08F2 tst.b [0x000008F2 /* WWExist */]
00000C4A 6704 beq +0x6 /* 00000C50 */
00000C4C 4EBA 03A8 jsr [PC + 0x3A8 /* 00000FF6 */]
label00000C50:
00000C50 2F0B move.l -[A7], A3
00000C52 4EBA 298A jsr [PC + 0x298A /* 000035DE */]
00000C56 588F addq.l A7, 4
00000C58 70FF moveq.l D0, 0xFFFFFFFF
00000C5A 3740 0004 move.w [A3 + 0x4], D0
00000C5E 200C move.l D0, A4
00000C60 6706 beq +0x8 /* 00000C68 */
00000C62 202C 001E move.l D0, [A4 + 0x1E]
00000C66 6004 bra +0x6 /* 00000C6C */
label00000C68:
00000C68 4EBA 0576 jsr [PC + 0x576 /* 000011E0 */]
label00000C6C:
00000C6C 2740 001E move.l [A3 + 0x1E], D0
00000C70 4878 0200 push.l 0x200
00000C74 3F3C 0001 move.w -[A7], 0x1
00000C78 42A7 clr.l -[A7]
00000C7A 2F0B move.l -[A7], A3
00000C7C 4EBA 2860 jsr [PC + 0x2860 /* 000034DE */]
00000C80 4FEF 000E lea.l A7, [A7 + 0xE]
00000C84 41ED 00DA lea.l A0, [A5 + 0xDA /* export_23 */]
00000C88 2748 0022 move.l [A3 + 0x22], A0
00000C8C 486D 00E2 pea.l [A5 + 0xE2 /* export_24 */]
00000C90 4EBA F6CA jsr [PC - 0x936 /* 0000035C */]
00000C94 588F addq.l A7, 4
00000C96 200B move.l D0, A3
label00000C98:
00000C98 4CDF 1800 movem.l A3,A4, [A7]+
00000C9C 4E5E unlink A6
00000C9E 4E75 rts
00000CA0 4E56 FFF8 link A6, -0x0008
00000CA4 2F2E 000C move.l -[A7], [A6 + 0xC]
00000CA8 4EBA 0742 jsr [PC + 0x742 /* 000013EC */]
00000CAC 588F addq.l A7, 4
00000CAE 486E FFF8 pea.l [A6 - 0x8]
00000CB2 2F00 move.l -[A7], D0
00000CB4 4EBA 0FAC jsr [PC + 0xFAC /* 00001C62 */]
00000CB8 508F addq.l A7, 8
00000CBA 302E 0008 move.w D0, [A6 + 0x8]
00000CBE 5340 subq.w D0, 1
00000CC0 3B40 F946 move.w [A5 - 0x6BA], D0
00000CC4 302E 000A move.w D0, [A6 + 0xA]
00000CC8 5340 subq.w D0, 1
00000CCA 3B40 F944 move.w [A5 - 0x6BC], D0
00000CCE 486E FFF8 pea.l [A6 - 0x8]
00000CD2 4EBA 1000 jsr [PC + 0x1000 /* 00001CD4 */]
00000CD6 588F addq.l A7, 4
00000CD8 4E5E unlink A6
00000CDA 4E75 rts
00000CDC 4E56 FFF8 link A6, -0x0008
00000CE0 2F2E 0010 move.l -[A7], [A6 + 0x10]
00000CE4 4EBA 0706 jsr [PC + 0x706 /* 000013EC */]
00000CE8 588F addq.l A7, 4
00000CEA 486E FFF8 pea.l [A6 - 0x8]
00000CEE 2F00 move.l -[A7], D0
00000CF0 4EBA 0F70 jsr [PC + 0xF70 /* 00001C62 */]
00000CF4 508F addq.l A7, 8
00000CF6 302D F946 move.w D0, [A5 - 0x6BA]
00000CFA 5240 addq.w D0, 1
00000CFC 206E 0008 movea.l A0, [A6 + 0x8]
00000D00 3080 move.w [A0], D0
00000D02 302D F944 move.w D0, [A5 - 0x6BC]
00000D06 5240 addq.w D0, 1
00000D08 206E 000C movea.l A0, [A6 + 0xC]
00000D0C 3080 move.w [A0], D0
00000D0E 486E FFF8 pea.l [A6 - 0x8]
00000D12 4EBA 0FC0 jsr [PC + 0xFC0 /* 00001CD4 */]
00000D16 588F addq.l A7, 4
00000D18 4E5E unlink A6
00000D1A 4E75 rts
00000D1C 4E56 FFF8 link A6, -0x0008
00000D20 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000D24 4EBA 06C6 jsr [PC + 0x6C6 /* 000013EC */]
00000D28 588F addq.l A7, 4
00000D2A 486E FFF8 pea.l [A6 - 0x8]
00000D2E 2F00 move.l -[A7], D0
00000D30 4EBA 0F30 jsr [PC + 0xF30 /* 00001C62 */]
00000D34 508F addq.l A7, 8
00000D36 3F2D F944 move.w -[A7], [A5 - 0x6BC]
00000D3A 4EBA 0990 jsr [PC + 0x990 /* 000016CC */]
00000D3E 548F addq.l A7, 2
00000D40 486E FFF8 pea.l [A6 - 0x8]
00000D44 4EBA 0F8E jsr [PC + 0xF8E /* 00001CD4 */]
00000D48 588F addq.l A7, 4
00000D4A 4E5E unlink A6
00000D4C 4E75 rts
00000D4E 4E56 FFF8 link A6, -0x0008
00000D52 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000D56 4EBA 0694 jsr [PC + 0x694 /* 000013EC */]
00000D5A 588F addq.l A7, 4
00000D5C 486E FFF8 pea.l [A6 - 0x8]
00000D60 2F00 move.l -[A7], D0
00000D62 4EBA 0EFE jsr [PC + 0xEFE /* 00001C62 */]
00000D66 508F addq.l A7, 8
00000D68 4EBA 09AC jsr [PC + 0x9AC /* 00001716 */]
00000D6C 486E FFF8 pea.l [A6 - 0x8]
00000D70 4EBA 0F62 jsr [PC + 0xF62 /* 00001CD4 */]
00000D74 588F addq.l A7, 4
00000D76 4E5E unlink A6
00000D78 4E75 rts
00000D7A 4E56 FFF8 link A6, -0x0008
00000D7E 2F2E 000A move.l -[A7], [A6 + 0xA]
00000D82 4EBA 0668 jsr [PC + 0x668 /* 000013EC */]
00000D86 588F addq.l A7, 4
00000D88 486E FFF8 pea.l [A6 - 0x8]
00000D8C 2F00 move.l -[A7], D0
00000D8E 4EBA 0ED2 jsr [PC + 0xED2 /* 00001C62 */]
00000D92 508F addq.l A7, 8
00000D94 0C6E 0001 0008 cmpi.w [A6 + 0x8], 0x1
00000D9A 6D0A blt +0xC /* 00000DA6 */
00000D9C 302E 0008 move.w D0, [A6 + 0x8]
00000DA0 B06D F942 cmp.w D0, [A5 - 0x6BE]
00000DA4 6F06 ble +0x8 /* 00000DAC */
label00000DA6:
00000DA6 7001 moveq.l D0, 0x01
00000DA8 3D40 0008 move.w [A6 + 0x8], D0
label00000DAC:
00000DAC 3B6E 0008 F948 move.w [A5 - 0x6B8], [A6 + 0x8]
00000DB2 486E FFF8 pea.l [A6 - 0x8]
00000DB6 4EBA 0F1C jsr [PC + 0xF1C /* 00001CD4 */]
00000DBA 588F addq.l A7, 4
00000DBC 4E5E unlink A6
00000DBE 4E75 rts
00000DC0 4E56 FFF8 link A6, -0x0008
00000DC4 2F2E 000A move.l -[A7], [A6 + 0xA]
00000DC8 4EBA 0622 jsr [PC + 0x622 /* 000013EC */]
00000DCC 588F addq.l A7, 4
00000DCE 486E FFF8 pea.l [A6 - 0x8]
00000DD2 2F00 move.l -[A7], D0
00000DD4 4EBA 0E8C jsr [PC + 0xE8C /* 00001C62 */]
00000DD8 508F addq.l A7, 8
00000DDA 08AD 0005 F962 bclr.b [A5 - 0x69E], 0x5
00000DE0 08AD 0006 F962 bclr.b [A5 - 0x69E], 0x6
00000DE6 08AD 0007 F962 bclr.b [A5 - 0x69E], 0x7
00000DEC 302E 0008 move.w D0, [A6 + 0x8]
00000DF0 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
00000DF4 0000 0003 ori.b D0, 0x3
00000DF8 0020 0008 ori.b -[A0], 0x8
00000DFC 000E 001A ori.b A6, 0x1A
00000E00 0012 08ED ori.b [A2], 0xED
00000E04 0007 F962 ori.b D7, 0x62 /* 'b' */
00000E08 600E bra +0x10 /* 00000E18 */
00000E0A 08ED 0006 F962 bset.b [A5 - 0x69E], 0x6
00000E10 6006 bra +0x8 /* 00000E18 */
00000E12 08ED 0005 F962 bset.b [A5 - 0x69E], 0x5
label00000E18:
00000E18 486E FFF8 pea.l [A6 - 0x8]
00000E1C 4EBA 0EB6 jsr [PC + 0xEB6 /* 00001CD4 */]
00000E20 588F addq.l A7, 4
00000E22 4E5E unlink A6
00000E24 4E75 rts
00000E26 4E56 FFF8 link A6, -0x0008
00000E2A 2F0C move.l -[A7], A4
00000E2C 2F2E 000A move.l -[A7], [A6 + 0xA]
00000E30 4EBA 05BA jsr [PC + 0x5BA /* 000013EC */]
00000E34 588F addq.l A7, 4
00000E36 2840 movea.l A4, D0
00000E38 486E FFF8 pea.l [A6 - 0x8]
00000E3C 2F0C move.l -[A7], A4
00000E3E 4EBA 0E22 jsr [PC + 0xE22 /* 00001C62 */]
00000E42 508F addq.l A7, 8
00000E44 4A6E 0008 tst.w [A6 + 0x8]
00000E48 6726 beq +0x28 /* 00000E70 */
00000E4A 4AAC 0068 tst.l [A4 + 0x68]
00000E4E 6634 bne +0x36 /* 00000E84 */
00000E50 4878 0034 push.l 0x34 /* '4' */
00000E54 4EBA F1AA jsr [PC - 0xE56 /* 00000000 */]
00000E58 588F addq.l A7, 4
00000E5A 2940 0068 move.l [A4 + 0x68], D0
00000E5E 2F2C 0068 move.l -[A7], [A4 + 0x68]
00000E62 A8EA syscall SetStdProcs
00000E64 41ED 00EA lea.l A0, [A5 + 0xEA /* export_25 */]
00000E68 226C 0068 movea.l A1, [A4 + 0x68]
00000E6C 2288 move.l [A1], A0
00000E6E 6014 bra +0x16 /* 00000E84 */
label00000E70:
00000E70 4AAC 0068 tst.l [A4 + 0x68]
00000E74 670E beq +0x10 /* 00000E84 */
00000E76 2F2C 0068 move.l -[A7], [A4 + 0x68]
00000E7A 4EBA F358 jsr [PC - 0xCA8 /* 000001D4 */]
00000E7E 588F addq.l A7, 4
00000E80 42AC 0068 clr.l [A4 + 0x68]
label00000E84:
00000E84 4267 clr.w -[A7]
00000E86 4EBA 0844 jsr [PC + 0x844 /* 000016CC */]
00000E8A 548F addq.l A7, 2
00000E8C 486E FFF8 pea.l [A6 - 0x8]
00000E90 4EBA 0E42 jsr [PC + 0xE42 /* 00001CD4 */]
00000E94 588F addq.l A7, 4
00000E96 285F movea.l A4, [A7]+
00000E98 4E5E unlink A6
00000E9A 4E75 rts
fn00000E9C:
00000E9C 4E56 FFFC link A6, -0x0004
00000EA0 2F0C move.l -[A7], A4
00000EA2 286E 0008 movea.l A4, [A6 + 0x8]
00000EA6 2F0C move.l -[A7], A4
00000EA8 4EBA 0542 jsr [PC + 0x542 /* 000013EC */]
00000EAC 588F addq.l A7, 4
00000EAE 2D40 FFFC move.l [A6 - 0x4], D0
00000EB2 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000EB6 A91F syscall SelectWindow
00000EB8 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000EBC A915 syscall ShowWindow
00000EBE 285F movea.l A4, [A7]+
00000EC0 4E5E unlink A6
00000EC2 4E75 rts
00000EC4 4E56 0000 link A6, 0
00000EC8 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000ECC 4EBA 051E jsr [PC + 0x51E /* 000013EC */]
00000ED0 588F addq.l A7, 4
00000ED2 2F00 move.l -[A7], D0
00000ED4 A916 syscall HideWindow
00000ED6 4E5E unlink A6
00000ED8 4E75 rts
fn00000EDA:
00000EDA 4E56 FFF8 link A6, -0x0008
00000EDE 2F2E 000E move.l -[A7], [A6 + 0xE]
00000EE2 4EBA 0508 jsr [PC + 0x508 /* 000013EC */]
00000EE6 588F addq.l A7, 4
00000EE8 486E FFF8 pea.l [A6 - 0x8]
00000EEC 2F00 move.l -[A7], D0
00000EEE 4EBA 0D72 jsr [PC + 0xD72 /* 00001C62 */]
00000EF2 508F addq.l A7, 8
00000EF4 4EBA 04D8 jsr [PC + 0x4D8 /* 000013CE */]
00000EF8 4A6E 000C tst.w [A6 + 0xC]
00000EFC 6708 beq +0xA /* 00000F06 */
00000EFE 41ED F9CC lea.l A0, [A5 - 0x634]
00000F02 2008 move.l D0, A0
00000F04 6006 bra +0x8 /* 00000F0C */
label00000F06:
00000F06 41ED F9CE lea.l A0, [A5 - 0x632]
00000F0A 2008 move.l D0, A0
label00000F0C:
00000F0C 2F00 move.l -[A7], D0
00000F0E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000F12 4EBA 1C18 jsr [PC + 0x1C18 /* 00002B2C */]
00000F16 508F addq.l A7, 8
00000F18 2B40 F95E move.l [A5 - 0x6A2], D0
00000F1C 08AD 0002 F962 bclr.b [A5 - 0x69E], 0x2
00000F22 486E FFF8 pea.l [A6 - 0x8]
00000F26 4EBA 0DAC jsr [PC + 0xDAC /* 00001CD4 */]
00000F2A 588F addq.l A7, 4
00000F2C 4E5E unlink A6
00000F2E 4E75 rts
fn00000F30:
00000F30 4E56 FFF8 link A6, -0x0008
00000F34 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000F38 4EBA 04B2 jsr [PC + 0x4B2 /* 000013EC */]
00000F3C 588F addq.l A7, 4
00000F3E 486E FFF8 pea.l [A6 - 0x8]
00000F42 2F00 move.l -[A7], D0
00000F44 4EBA 0D1C jsr [PC + 0xD1C /* 00001C62 */]
00000F48 508F addq.l A7, 8
00000F4A 4EBA 0482 jsr [PC + 0x482 /* 000013CE */]
00000F4E 4EBA 1AE4 jsr [PC + 0x1AE4 /* 00002A34 */]
00000F52 2B40 F95E move.l [A5 - 0x6A2], D0
00000F56 08ED 0002 F962 bset.b [A5 - 0x69E], 0x2
00000F5C 486E FFF8 pea.l [A6 - 0x8]
00000F60 4EBA 0D72 jsr [PC + 0xD72 /* 00001CD4 */]
00000F64 588F addq.l A7, 4
00000F66 4E5E unlink A6
00000F68 4E75 rts
fn00000F6A:
00000F6A 4E56 FFD4 link A6, -0x002C
00000F6E 42AE FFFC clr.l [A6 - 0x4]
00000F72 082D 0007 FB66 btst.b [A5 - 0x49A], 0x7
00000F78 6712 beq +0x14 /* 00000F8C */
00000F7A 486D FB66 pea.l [A5 - 0x49A]
00000F7E 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000F82 4EBA FCA6 jsr [PC - 0x35A /* 00000C2A */]
00000F86 508F addq.l A7, 8
00000F88 2D40 FFFC move.l [A6 - 0x4], D0
label00000F8C:
00000F8C 082D 0007 FB8C btst.b [A5 - 0x474], 0x7
00000F92 6712 beq +0x14 /* 00000FA6 */
00000F94 486D FB8C pea.l [A5 - 0x474]
00000F98 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000F9C 4EBA FC8C jsr [PC - 0x374 /* 00000C2A */]
00000FA0 508F addq.l A7, 8
00000FA2 2D40 FFFC move.l [A6 - 0x4], D0
label00000FA6:
00000FA6 082D 0007 FBB2 btst.b [A5 - 0x44E], 0x7
00000FAC 6712 beq +0x14 /* 00000FC0 */
00000FAE 486D FBB2 pea.l [A5 - 0x44E]
00000FB2 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000FB6 4EBA FC72 jsr [PC - 0x38E /* 00000C2A */]
00000FBA 508F addq.l A7, 8
00000FBC 2D40 FFFC move.l [A6 - 0x4], D0
label00000FC0:
00000FC0 4A2D F936 tst.b [A5 - 0x6CA]
00000FC4 672C beq +0x2E /* 00000FF2 */
00000FC6 4878 0910 push.l 0x910
00000FCA 486D F9D0 pea.l [A5 - 0x630]
00000FCE 486E FFD4 pea.l [A6 - 0x2C]
00000FD2 4EBA 40FC jsr [PC + 0x40FC /* 000050D0 */]
00000FD6 4FEF 000C lea.l A7, [A7 + 0xC]
00000FDA 486D FB8C pea.l [A5 - 0x474]
00000FDE 3F3C 0001 move.w -[A7], 0x1
00000FE2 486E FFD4 pea.l [A6 - 0x2C]
00000FE6 4EBA FEF2 jsr [PC - 0x10E /* 00000EDA */]
00000FEA 4FEF 000A lea.l A7, [A7 + 0xA]
00000FEE 426D F934 clr.w [A5 - 0x6CC]
label00000FF2:
00000FF2 4E5E unlink A6
00000FF4 4E75 rts
fn00000FF6:
00000FF6 4E56 FFFC link A6, -0x0004
00000FFA 7209 moveq.l D1, 0x09
00000FFC 4A78 028E tst.w [0x0000028E /* ROM85 */]
00001000 6B02 bmi +0x4 /* 00001004 */
00001002 A063 syscall MaxApplZone
label00001004:
00001004 A036 syscall MoreMasters
00001006 51C9 FFFC dbf D1, -0x6 /* 00001004 */
0000100A 203C 0000 00CE move.l D0, 0xCE
00001010 A11E syscall NewPtr, flags=1
00001012 4868 00CA pea.l [A0 + 0xCA]
00001016 A86E syscall InitGraf
00001018 A8FE syscall InitFonts
0000101A A912 syscall InitWindows
0000101C A9CC syscall TEInit
0000101E 42A7 clr.l -[A7]
00001020 A97B syscall InitDialogs
00001022 A930 syscall InitMenus
00001024 42A7 clr.l -[A7]
00001026 3F3C 0001 move.w -[A7], 0x1
0000102A 486D F9D8 pea.l [A5 - 0x628]
0000102E A931 syscall NewMenu
00001030 205F movea.l A0, [A7]+
00001032 2B48 F96A move.l [A5 - 0x696], A0
00001036 4850 pea.l [A0]
00001038 4267 clr.w -[A7]
0000103A A935 syscall InsertMenu
0000103C 2F2D F96A move.l -[A7], [A5 - 0x696]
00001040 4879 4452 5652 push.l 0x44525652 /* 'DRVR' */
00001046 A94D syscall AppendResMenu/AddResMenu
00001048 42A7 clr.l -[A7]
0000104A 3F3C 0002 move.w -[A7], 0x2
0000104E 486D F9DA pea.l [A5 - 0x626]
00001052 A931 syscall NewMenu
00001054 205F movea.l A0, [A7]+
00001056 2D48 FFFC move.l [A6 - 0x4], A0
0000105A 4850 pea.l [A0]
0000105C 4267 clr.w -[A7]
0000105E A935 syscall InsertMenu
00001060 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001064 486D F9E0 pea.l [A5 - 0x620]
00001068 A933 syscall AppendMenu
0000106A 42A7 clr.l -[A7]
0000106C 3F3C 0003 move.w -[A7], 0x3
00001070 486D F9E8 pea.l [A5 - 0x618]
00001074 A931 syscall NewMenu
00001076 205F movea.l A0, [A7]+
00001078 2D48 FFFC move.l [A6 - 0x4], A0
0000107C 4850 pea.l [A0]
0000107E 4267 clr.w -[A7]
00001080 A935 syscall InsertMenu
00001082 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001086 486D F9EE pea.l [A5 - 0x612]
0000108A A933 syscall AppendMenu
0000108C A937 syscall DrawMenuBar
0000108E 7000 moveq.l D0, 0x00
00001090 5340 subq.w D0, 1
00001092 A032 syscall FlushEvents
00001094 A850 syscall InitCursor
00001096 7001 moveq.l D0, 0x01
00001098 1B40 F964 move.b [A5 - 0x69C], D0
0000109C 4E5E unlink A6
0000109E 4E75 rts
fn000010A0:
000010A0 4E56 FEE6 link A6, -0x011A
000010A4 4AAD F952 tst.l [A5 - 0x6AE]
000010A8 6700 005A beq +0x5C /* 00001104 */
000010AC 202D F956 move.l D0, [A5 - 0x6AA]
000010B0 52AD F956 addq.l [A5 - 0x6AA], 1
000010B4 206D F952 movea.l A0, [A5 - 0x6AE]
000010B8 D090 add.l D0, [A0]
000010BA 2040 movea.l A0, D0
000010BC 7000 moveq.l D0, 0x00
000010BE 1010 move.b D0, [A0]
000010C0 3D40 FFFE move.w [A6 - 0x2], D0
000010C4 202D F956 move.l D0, [A5 - 0x6AA]
000010C8 B0AD F95A cmp.l D0, [A5 - 0x6A6]
000010CC 660C bne +0xE /* 000010DA */
000010CE 2F2D F952 move.l -[A7], [A5 - 0x6AE]
000010D2 4EBA 172E jsr [PC + 0x172E /* 00002802 */]
000010D6 42AD F952 clr.l [A5 - 0x6AE]
label000010DA:
000010DA 082D 0003 F962 btst.b [A5 - 0x69E], 0x3
000010E0 6706 beq +0x8 /* 000010E8 */
000010E2 026E 007F FFFE andi.w [A6 - 0x2], 0x7F
label000010E8:
000010E8 0C6E 0009 FFFE cmpi.w [A6 - 0x2], 0x9 /* '\t' */
000010EE 6606 bne +0x8 /* 000010F6 */
000010F0 7020 moveq.l D0, 0x20
000010F2 3D40 FFFE move.w [A6 - 0x2], D0
label000010F6:
000010F6 3F2E FFFE move.w -[A7], [A6 - 0x2]
000010FA 4EBA 11C6 jsr [PC + 0x11C6 /* 000022C2 */]
000010FE 548F addq.l A7, 2
00001100 6000 00DA bra +0xDC /* 000011DC */
label00001104:
00001104 A9B4 syscall SystemTask
00001106 4238 015C clr.b [0x0000015C /* SEvtEnb */]
0000110A 4267 clr.w -[A7]
0000110C 3F3C FFFF move.w -[A7], 0xFFFF
00001110 486E FFEE pea.l [A6 - 0x12]
00001114 A970 syscall GetNextEvent
00001116 101F move.b D0, [A7]+
00001118 4A00 tst.b D0
0000111A 6712 beq +0x14 /* 0000112E */
0000111C 4267 clr.w -[A7]
0000111E 486E FFEE pea.l [A6 - 0x12]
00001122 A9B2 syscall SystemEvent
00001124 101F move.b D0, [A7]+
00001126 4A00 tst.b D0
00001128 6720 beq +0x22 /* 0000114A */
0000112A 6000 00B0 bra +0xB2 /* 000011DC */
label0000112E:
0000112E 4A6E FFEE tst.w [A6 - 0x12]
00001132 6600 00A8 bne +0xAA /* 000011DC */
00001136 42A7 clr.l -[A7]
00001138 A924 syscall FrontWindow
0000113A 205F movea.l A0, [A7]+
0000113C B0FC 0000 cmpa.w A0, 0x0
00001140 6600 009A bne +0x9C /* 000011DC */
00001144 A850 syscall InitCursor
00001146 6000 0094 bra +0x96 /* 000011DC */
label0000114A:
0000114A 0C6E 0001 FFEE cmpi.w [A6 - 0x12], 0x1
00001150 6600 008A bne +0x8C /* 000011DC */
00001154 4267 clr.w -[A7]
00001156 2F2E FFF8 move.l -[A7], [A6 - 0x8]
0000115A 486E FFEA pea.l [A6 - 0x16]
0000115E A92C syscall FindWindow
00001160 301F move.w D0, [A7]+
00001162 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
00001166 0001 0002 ori.b D1, 0x2
0000116A 0072 0004 0014 ori.w [A2 + D0.w + 0x14], 0x4
00001170 A850 syscall InitCursor
00001172 42A7 clr.l -[A7]
00001174 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00001178 A93D syscall MenuSelect
0000117A 201F move.l D0, [A7]+
0000117C 2D40 FFE6 move.l [A6 - 0x1A], D0
00001180 600E bra +0x10 /* 00001190 */
00001182 486E FFEE pea.l [A6 - 0x12]
00001186 2F2E FFEA move.l -[A7], [A6 - 0x16]
0000118A A9B3 syscall SystemClick
0000118C 6000 004E bra +0x50 /* 000011DC */
label00001190:
00001190 302E FFE6 move.w D0, [A6 - 0x1A]
00001194 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
00001198 0001 0003 ori.b D1, 0x3
0000119C 003C 0006 ori.b ccr, 6
000011A0 001E 0028 ori.b [A6]+, 0x28 /* '(' */
000011A4 2F2D F96A move.l -[A7], [A5 - 0x696]
000011A8 3F2E FFE8 move.w -[A7], [A6 - 0x18]
000011AC 486E FEE6 pea.l [A6 - 0x11A]
000011B0 A946 syscall GetMenuItemText/GetItem
000011B2 4267 clr.w -[A7]
000011B4 486E FEE6 pea.l [A6 - 0x11A]
000011B8 A9B6 syscall OpenDeskAcc
000011BA 301F move.w D0, [A7]+
000011BC 601A bra +0x1C /* 000011D8 */
000011BE 426D F934 clr.w [A5 - 0x6CC]
000011C2 4267 clr.w -[A7]
000011C4 4EBA F1DC jsr [PC - 0xE24 /* 000003A2 */]
000011C8 548F addq.l A7, 2
000011CA 4267 clr.w -[A7]
000011CC 302E FFE8 move.w D0, [A6 - 0x18]
000011D0 5340 subq.w D0, 1
000011D2 3F00 move.w -[A7], D0
000011D4 A9C2 syscall SysEdit
000011D6 101F move.b D0, [A7]+
label000011D8:
000011D8 4267 clr.w -[A7]
000011DA A938 syscall HiliteMenu
label000011DC:
000011DC 4E5E unlink A6
000011DE 4E75 rts
fn000011E0:
000011E0 4E56 FFE8 link A6, -0x0018
000011E4 48E7 0018 movem.l -[A7], A3,A4
000011E8 486E FFFC pea.l [A6 - 0x4]
000011EC A874 syscall GetPort
000011EE 42A7 clr.l -[A7]
000011F0 4EBA 0B06 jsr [PC + 0xB06 /* 00001CF8 */]
000011F4 588F addq.l A7, 4
000011F6 42A7 clr.l -[A7]
000011F8 42A7 clr.l -[A7]
000011FA 486D F9B0 pea.l [A5 - 0x650]
000011FE 2F2D F924 move.l -[A7], [A5 - 0x6DC]
00001202 4267 clr.w -[A7]
00001204 3F2D F928 move.w -[A7], [A5 - 0x6D8]
00001208 4878 FFFF push.l 0xFFFF
0000120C 4267 clr.w -[A7]
0000120E 42A7 clr.l -[A7]
00001210 A913 syscall NewWindow
00001212 205F movea.l A0, [A7]+
00001214 2848 movea.l A4, A0
00001216 2F0C move.l -[A7], A4
00001218 3F2D F922 move.w -[A7], [A5 - 0x6DE]
0000121C 3F2D F920 move.w -[A7], [A5 - 0x6E0]
00001220 4267 clr.w -[A7]
00001222 A91B syscall MoveWindow
00001224 2B4C F938 move.l [A5 - 0x6C8], A4
00001228 2F0C move.l -[A7], A4
0000122A A873 syscall SetPort
0000122C 3F2D F92A move.w -[A7], [A5 - 0x6D6]
00001230 A887 syscall TextFont
00001232 3F2D F92C move.w -[A7], [A5 - 0x6D4]
00001236 A88A syscall TextSize
00001238 3F2D F92E move.w -[A7], [A5 - 0x6D2]
0000123C A888 syscall TextFace
0000123E 486E FFE8 pea.l [A6 - 0x18]
00001242 A88B syscall GetFontInfo
00001244 302E FFE8 move.w D0, [A6 - 0x18]
00001248 D06E FFEA add.w D0, [A6 - 0x16]
0000124C D06E FFEE add.w D0, [A6 - 0x12]
00001250 3B40 F93C move.w [A5 - 0x6C4], D0
00001254 3B6E FFEC F93E move.w [A5 - 0x6C2], [A6 - 0x14]
0000125A 7008 moveq.l D0, 0x08
0000125C 3B40 F948 move.w [A5 - 0x6B8], D0
00001260 08AD 0003 F962 bclr.b [A5 - 0x69E], 0x3
00001266 08AD 0004 F962 bclr.b [A5 - 0x69E], 0x4
0000126C 08AD 0006 F962 bclr.b [A5 - 0x69E], 0x6
00001272 08AD 0007 F962 bclr.b [A5 - 0x69E], 0x7
00001278 08ED 0005 F962 bset.b [A5 - 0x69E], 0x5
0000127E 42AD F952 clr.l [A5 - 0x6AE]
00001282 42AD F95E clr.l [A5 - 0x6A2]
00001286 426E FFF2 clr.w [A6 - 0xE]
0000128A 426E FFF0 clr.w [A6 - 0x10]
0000128E 302D F930 move.w D0, [A5 - 0x6D0]
00001292 3B40 F940 move.w [A5 - 0x6C0], D0
00001296 C1ED F93C muls.w D0, [A5 - 0x6C4]
0000129A 5040 addq.w D0, 8
0000129C 3D40 FFF4 move.w [A6 - 0xC], D0
000012A0 302D F932 move.w D0, [A5 - 0x6CE]
000012A4 3B40 F942 move.w [A5 - 0x6BE], D0
000012A8 C1ED F93E muls.w D0, [A5 - 0x6C2]
000012AC 5040 addq.w D0, 8
000012AE 3D40 FFF6 move.w [A6 - 0xA], D0
000012B2 2F0C move.l -[A7], A4
000012B4 3F2E FFF6 move.w -[A7], [A6 - 0xA]
000012B8 3F2E FFF4 move.w -[A7], [A6 - 0xC]
000012BC 4267 clr.w -[A7]
000012BE A91D syscall SizeWindow
000012C0 42A7 clr.l -[A7]
000012C2 486E FFF0 pea.l [A6 - 0x10]
000012C6 486E FFF0 pea.l [A6 - 0x10]
000012CA A9D2 syscall TENew
000012CC 205F movea.l A0, [A7]+
000012CE 2B48 F94A move.l [A5 - 0x6B6], A0
000012D2 206D F94A movea.l A0, [A5 - 0x6B6]
000012D6 2050 movea.l A0, [A0]
000012D8 70FF moveq.l D0, 0xFFFFFFFF
000012DA 3140 0048 move.w [A0 + 0x48], D0
000012DE 302D F940 move.w D0, [A5 - 0x6C0]
000012E2 5340 subq.w D0, 1
000012E4 3B40 F944 move.w [A5 - 0x6BC], D0
000012E8 4267 clr.w -[A7]
000012EA 4EBA 03E0 jsr [PC + 0x3E0 /* 000016CC */]
000012EE 548F addq.l A7, 2
000012F0 2B6E FFF4 F94E move.l [A5 - 0x6B2], [A6 - 0xC]
000012F6 526D F94E addq.w [A5 - 0x6B2], 1
000012FA 526D F950 addq.w [A5 - 0x6B0], 1
000012FE 486E FFF0 pea.l [A6 - 0x10]
00001302 A870 syscall LocalToGlobal
00001304 486E FFF4 pea.l [A6 - 0xC]
00001308 A870 syscall LocalToGlobal
0000130A 206C 0082 movea.l A0, [A4 + 0x82]
0000130E 2650 movea.l A3, [A0]
00001310 41EB 0008 lea.l A0, [A3 + 0x8]
00001314 43EE FFF0 lea.l A1, [A6 - 0x10]
00001318 20D9 move.l [A0]+, [A1]+
0000131A 20D9 move.l [A0]+, [A1]+
0000131C 43D3 lea.l A1, [A3]
0000131E 5188 subq.l A0, 8
00001320 22D8 move.l [A1]+, [A0]+
00001322 22D8 move.l [A1]+, [A0]+
00001324 41ED F938 lea.l A0, [A5 - 0x6C8]
00001328 702C moveq.l D0, 0x2C
0000132A A9E3 syscall PtrToHand
0000132C 2948 0098 move.l [A4 + 0x98], A0
00001330 4A6D F968 tst.w [A5 - 0x698]
00001334 6608 bne +0xA /* 0000133E */
00001336 4EBA 0B60 jsr [PC + 0xB60 /* 00001E98 */]
0000133A 3B40 F968 move.w [A5 - 0x698], D0
label0000133E:
0000133E 396D F968 006C move.w [A4 + 0x6C], [A5 - 0x698]
00001344 4EBA 08C0 jsr [PC + 0x8C0 /* 00001C06 */]
00001348 2F0C move.l -[A7], A4
0000134A A915 syscall ShowWindow
0000134C 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001350 A873 syscall SetPort
00001352 200C move.l D0, A4
00001354 4CDF 1800 movem.l A3,A4, [A7]+
00001358 4E5E unlink A6
0000135A 4E75 rts
fn0000135C:
0000135C 4E56 FFFC link A6, -0x0004
00001360 2F0C move.l -[A7], A4
00001362 426E FFFE clr.w [A6 - 0x2]
00001366 41ED FB66 lea.l A0, [A5 - 0x49A]
0000136A 2848 movea.l A4, A0
0000136C 700F moveq.l D0, 0x0F
0000136E 3D40 FFFC move.w [A6 - 0x4], D0
00001372 601A bra +0x1C /* 0000138E */
label00001374:
00001374 202C 001E move.l D0, [A4 + 0x1E]
00001378 B0AD F938 cmp.l D0, [A5 - 0x6C8]
0000137C 660C bne +0xE /* 0000138A */
0000137E 302E FFFE move.w D0, [A6 - 0x2]
00001382 526E FFFE addq.w [A6 - 0x2], 1
00001386 4A40 tst.w D0
00001388 663E bne +0x40 /* 000013C8 */
label0000138A:
0000138A 49EC 0026 lea.l A4, [A4 + 0x26]
label0000138E:
0000138E 302E FFFC move.w D0, [A6 - 0x4]
00001392 536E FFFC subq.w [A6 - 0x4], 1
00001396 4A40 tst.w D0
00001398 66DA bne -0x24 /* 00001374 */
0000139A 4EBA 0032 jsr [PC + 0x32 /* 000013CE */]
0000139E 4AAD F952 tst.l [A5 - 0x6AE]
000013A2 6708 beq +0xA /* 000013AC */
000013A4 2F2D F952 move.l -[A7], [A5 - 0x6AE]
000013A8 4EBA 1458 jsr [PC + 0x1458 /* 00002802 */]
label000013AC:
000013AC 206D F938 movea.l A0, [A5 - 0x6C8]
000013B0 2F28 0098 move.l -[A7], [A0 + 0x98]
000013B4 4EBA 144C jsr [PC + 0x144C /* 00002802 */]
000013B8 2F2D F94A move.l -[A7], [A5 - 0x6B6]
000013BC A9CD syscall TEDispose
000013BE 2F2D F938 move.l -[A7], [A5 - 0x6C8]
000013C2 A914 syscall DisposeWindow
000013C4 42AD F938 clr.l [A5 - 0x6C8]
label000013C8:
000013C8 285F movea.l A4, [A7]+
000013CA 4E5E unlink A6
000013CC 4E75 rts
fn000013CE:
000013CE 4AAD F95E tst.l [A5 - 0x6A2]
000013D2 6716 beq +0x18 /* 000013EA */
000013D4 082D 0002 F962 btst.b [A5 - 0x69E], 0x2
000013DA 6704 beq +0x6 /* 000013E0 */
000013DC 4EBA 11F2 jsr [PC + 0x11F2 /* 000025D0 */]
label000013E0:
000013E0 2F2D F95E move.l -[A7], [A5 - 0x6A2]
000013E4 4EBA 21F8 jsr [PC + 0x21F8 /* 000035DE */]
000013E8 588F addq.l A7, 4
label000013EA:
000013EA 4E75 rts
fn000013EC:
000013EC 4E56 FFFA link A6, -0x0006
000013F0 2F0C move.l -[A7], A4
000013F2 286E 0008 movea.l A4, [A6 + 0x8]
000013F6 2F0C move.l -[A7], A4
000013F8 4EBA 3BCA jsr [PC + 0x3BCA /* 00004FC4 */]
000013FC 588F addq.l A7, 4
000013FE 2040 movea.l A0, D0
00001400 2D68 001E FFFC move.l [A6 - 0x4], [A0 + 0x1E]
00001406 41ED FB66 lea.l A0, [A5 - 0x49A]
0000140A 2848 movea.l A4, A0
0000140C 700F moveq.l D0, 0x0F
0000140E 3D40 FFFA move.w [A6 - 0x6], D0
00001412 601C bra +0x1E /* 00001430 */
label00001414:
00001414 0814 0003 btst.b [A4], 0x3
00001418 6712 beq +0x14 /* 0000142C */
0000141A 202C 001E move.l D0, [A4 + 0x1E]
0000141E B0AE FFFC cmp.l D0, [A6 - 0x4]
00001422 6608 bne +0xA /* 0000142C */
00001424 2F0C move.l -[A7], A4
00001426 4EBA 2152 jsr [PC + 0x2152 /* 0000357A */]
0000142A 588F addq.l A7, 4
label0000142C:
0000142C 49EC 0026 lea.l A4, [A4 + 0x26]
label00001430:
00001430 302E FFFA move.w D0, [A6 - 0x6]
00001434 536E FFFA subq.w [A6 - 0x6], 1
00001438 4A40 tst.w D0
0000143A 66D8 bne -0x26 /* 00001414 */
0000143C 202E FFFC move.l D0, [A6 - 0x4]
00001440 285F movea.l A4, [A7]+
00001442 4E5E unlink A6
00001444 4E75 rts
export_24:
00001446 4E56 FFFE link A6, -0x0002
0000144A 2F0C move.l -[A7], A4
0000144C 41ED FB66 lea.l A0, [A5 - 0x49A]
00001450 2848 movea.l A4, A0
00001452 700F moveq.l D0, 0x0F
00001454 3D40 FFFE move.w [A6 - 0x2], D0
00001458 6018 bra +0x1A /* 00001472 */
label0000145A:
0000145A 0814 0003 btst.b [A4], 0x3
0000145E 670E beq +0x10 /* 0000146E */
00001460 4AAC 001E tst.l [A4 + 0x1E]
00001464 6708 beq +0xA /* 0000146E */
00001466 2F0C move.l -[A7], A4
00001468 4EBA 2110 jsr [PC + 0x2110 /* 0000357A */]
0000146C 588F addq.l A7, 4
label0000146E:
0000146E 49EC 0026 lea.l A4, [A4 + 0x26]
label00001472:
00001472 302E FFFE move.w D0, [A6 - 0x2]
00001476 536E FFFE subq.w [A6 - 0x2], 1
0000147A 4A40 tst.w D0
0000147C 66DC bne -0x22 /* 0000145A */
0000147E 4A2D F964 tst.b [A5 - 0x69C]
00001482 6700 005C beq +0x5E /* 000014E0 */
00001486 4A6D F934 tst.w [A5 - 0x6CC]
0000148A 6754 beq +0x56 /* 000014E0 */
0000148C 41ED FB66 lea.l A0, [A5 - 0x49A]
00001490 2848 movea.l A4, A0
00001492 700F moveq.l D0, 0x0F
00001494 3D40 FFFE move.w [A6 - 0x2], D0
00001498 603A bra +0x3C /* 000014D4 */
label0000149A:
0000149A 4AAC 001E tst.l [A4 + 0x1E]
0000149E 6730 beq +0x32 /* 000014D0 */
000014A0 2F2C 001E move.l -[A7], [A4 + 0x1E]
000014A4 486D FA14 pea.l [A5 - 0x5EC]
000014A8 A91A syscall SetWTitle
000014AA 08AD 0005 F962 bclr.b [A5 - 0x69E], 0x5
000014B0 08AD 0006 F962 bclr.b [A5 - 0x69E], 0x6
000014B6 08AD 0007 F962 bclr.b [A5 - 0x69E], 0x7
000014BC 42A7 clr.l -[A7]
000014BE 2F0C move.l -[A7], A4
000014C0 4EBA 1FF2 jsr [PC + 0x1FF2 /* 000034B4 */]
000014C4 508F addq.l A7, 8
000014C6 2F0C move.l -[A7], A4
000014C8 4EBA 1EC0 jsr [PC + 0x1EC0 /* 0000338A */]
000014CC 588F addq.l A7, 4
000014CE 6010 bra +0x12 /* 000014E0 */
label000014D0:
000014D0 49EC 0026 lea.l A4, [A4 + 0x26]
label000014D4:
000014D4 302E FFFE move.w D0, [A6 - 0x2]
000014D8 536E FFFE subq.w [A6 - 0x2], 1
000014DC 4A40 tst.w D0
000014DE 66BA bne -0x44 /* 0000149A */
label000014E0:
000014E0 41ED FB66 lea.l A0, [A5 - 0x49A]
000014E4 2848 movea.l A4, A0
000014E6 700F moveq.l D0, 0x0F
000014E8 3D40 FFFE move.w [A6 - 0x2], D0
000014EC 6012 bra +0x14 /* 00001500 */
label000014EE:
000014EE 4AAC 001E tst.l [A4 + 0x1E]
000014F2 6708 beq +0xA /* 000014FC */
000014F4 2F0C move.l -[A7], A4
000014F6 4EBA 20E6 jsr [PC + 0x20E6 /* 000035DE */]
000014FA 588F addq.l A7, 4
label000014FC:
000014FC 49EC 0026 lea.l A4, [A4 + 0x26]
label00001500:
00001500 302E FFFE move.w D0, [A6 - 0x2]
00001504 536E FFFE subq.w [A6 - 0x2], 1
00001508 4A40 tst.w D0
0000150A 66E2 bne -0x1C /* 000014EE */
0000150C 285F movea.l A4, [A7]+
0000150E 4E5E unlink A6
00001510 4E75 rts
export_23:
00001512 4E56 FFF6 link A6, -0x000A
00001516 2F0C move.l -[A7], A4
00001518 286E 0008 movea.l A4, [A6 + 0x8]
0000151C 426E FFF6 clr.w [A6 - 0xA]
00001520 4A6D F580 tst.w [A5 - 0xA80]
00001524 6706 beq +0x8 /* 0000152C */
00001526 7000 moveq.l D0, 0x00
00001528 6000 0120 bra +0x122 /* 0000164A */
label0000152C:
0000152C 486E FFF8 pea.l [A6 - 0x8]
00001530 2F2C 001E move.l -[A7], [A4 + 0x1E]
00001534 4EBA 072C jsr [PC + 0x72C /* 00001C62 */]
00001538 508F addq.l A7, 8
0000153A 302E 000C move.w D0, [A6 + 0xC]
0000153E 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
00001542 0000 0002 ori.b D0, 0x2
00001546 00CE .incomplete
00001548 0006 00A8 ori.b D6, 0xA8
0000154C 00B6 202C 000E 2B40 ori.l [A6 + <<invalid base displacement size>>], 0x202C000E
00001554 F976 .extension 0x976 <<F/4-5/4>> // unimplemented
00001556 2B40 F972 move.l [A5 - 0x68E], D0
0000155A 4A2D F964 tst.b [A5 - 0x69C]
0000155E 6700 0076 beq +0x78 /* 000015D6 */
00001562 2F0C move.l -[A7], A4
00001564 4EBA F936 jsr [PC - 0x6CA /* 00000E9C */]
00001568 588F addq.l A7, 4
0000156A 08ED 0004 F962 bset.b [A5 - 0x69E], 0x4
00001570 2B6C 0012 F97A move.l [A5 - 0x686], [A4 + 0x12]
00001576 082D 0005 F962 btst.b [A5 - 0x69E], 0x5
0000157C 6720 beq +0x22 /* 0000159E */
0000157E 306D F946 movea.w A0, [A5 - 0x6BA]
00001582 D1ED F97A add.l A0, [A5 - 0x686]
00001586 326D F942 movea.w A1, [A5 - 0x6BE]
0000158A B1C9 cmpa.l A0, A1
0000158C 6310 bls +0x12 /* 0000159E */
0000158E 302D F942 move.w D0, [A5 - 0x6BE]
00001592 906D F946 sub.w D0, [A5 - 0x6BA]
00001596 5240 addq.w D0, 1
00001598 48C0 ext.l D0
0000159A 2B40 F97A move.l [A5 - 0x686], D0
label0000159E:
0000159E 082D 0007 F962 btst.b [A5 - 0x69E], 0x7
000015A4 660A bne +0xC /* 000015B0 */
000015A6 4267 clr.w -[A7]
000015A8 4EBA 04FA jsr [PC + 0x4FA /* 00001AA4 */]
000015AC 548F addq.l A7, 2
000015AE 6002 bra +0x4 /* 000015B2 */
label000015B0:
000015B0 7000 moveq.l D0, 0x00
label000015B2:
000015B2 3B40 F980 move.w [A5 - 0x680], D0
000015B6 3B40 F97E move.w [A5 - 0x682], D0
000015BA 0894 0005 bclr.b [A4], 0x5
label000015BE:
000015BE 4EBA FAE0 jsr [PC - 0x520 /* 000010A0 */]
000015C2 4AAD F97A tst.l [A5 - 0x686]
000015C6 6708 beq +0xA /* 000015D0 */
000015C8 082D 0007 F962 btst.b [A5 - 0x69E], 0x7
000015CE 67EE beq -0x10 /* 000015BE */
label000015D0:
000015D0 08AD 0004 F962 bclr.b [A5 - 0x69E], 0x4
label000015D6:
000015D6 202D F976 move.l D0, [A5 - 0x68A]
000015DA 90AD F972 sub.l D0, [A5 - 0x68E]
000015DE 2940 0012 move.l [A4 + 0x12], D0
000015E2 4A80 tst.l D0
000015E4 662E bne +0x30 /* 00001614 */
000015E6 08D4 0005 bset.b [A4], 0x5
000015EA 70FF moveq.l D0, 0xFFFFFFFF
000015EC 3D40 FFF6 move.w [A6 - 0xA], D0
000015F0 6022 bra +0x24 /* 00001614 */
000015F2 3F2C 0014 move.w -[A7], [A4 + 0x14]
000015F6 2F2C 000E move.l -[A7], [A4 + 0xE]
000015FA 4EBA 015E jsr [PC + 0x15E /* 0000175A */]
000015FE 5C8F addq.l A7, 6
00001600 6012 bra +0x14 /* 00001614 */
00001602 4EBA FD58 jsr [PC - 0x2A8 /* 0000135C */]
00001606 202C 001E move.l D0, [A4 + 0x1E]
0000160A B0AE FFF8 cmp.l D0, [A6 - 0x8]
0000160E 6604 bne +0x6 /* 00001614 */
00001610 42AE FFF8 clr.l [A6 - 0x8]
label00001614:
00001614 4A2D F966 tst.b [A5 - 0x69A]
00001618 6722 beq +0x24 /* 0000163C */
0000161A 422D F966 clr.b [A5 - 0x69A]
0000161E 7008 moveq.l D0, 0x08
00001620 A032 syscall FlushEvents
00001622 42AC 0012 clr.l [A4 + 0x12]
00001626 3F3C 0004 move.w -[A7], 0x4
0000162A 4EBA 3928 jsr [PC + 0x3928 /* 00004F54 */]
0000162E 548F addq.l A7, 2
00001630 7004 moveq.l D0, 0x04
00001632 3B40 FB32 move.w [A5 - 0x4CE], D0
00001636 70FF moveq.l D0, 0xFFFFFFFF
00001638 3D40 FFF6 move.w [A6 - 0xA], D0
label0000163C:
0000163C 486E FFF8 pea.l [A6 - 0x8]
00001640 4EBA 0692 jsr [PC + 0x692 /* 00001CD4 */]
00001644 588F addq.l A7, 4
00001646 302E FFF6 move.w D0, [A6 - 0xA]
label0000164A:
0000164A 285F movea.l A4, [A7]+
0000164C 4E5E unlink A6
0000164E 4E75 rts
export_25:
00001650 4E56 FFFE link A6, -0x0002
00001654 48E7 0118 movem.l -[A7], D7,A3,A4
00001658 286E 0010 movea.l A4, [A6 + 0x10]
0000165C 3E2E 0014 move.w D7, [A6 + 0x14]
00001660 6000 0054 bra +0x56 /* 000016B6 */
label00001664:
00001664 264C movea.l A3, A4
label00001666:
00001666 4A1C tst.b [A4]+
00001668 5BCF FFFC dbmi D7, -0x6 /* 00001666 */
0000166C 6A02 bpl +0x4 /* 00001670 */
0000166E 538C subq.l A4, 1
label00001670:
00001670 B9CB cmpa.l A4, A3
00001672 6312 bls +0x14 /* 00001686 */
00001674 200C move.l D0, A4
00001676 908B sub.l D0, A3
00001678 3F00 move.w -[A7], D0
0000167A 2F0B move.l -[A7], A3
0000167C 2F2E 000C move.l -[A7], [A6 + 0xC]
00001680 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001684 A882 syscall StdText
label00001686:
00001686 4A47 tst.w D7
00001688 6D34 blt +0x36 /* 000016BE */
0000168A 41D4 lea.l A0, [A4]
0000168C 528C addq.l A4, 1
0000168E 1010 move.b D0, [A0]
00001690 4880 ext.w D0
00001692 0240 007F andi.w D0, 0x7F
00001696 1D40 FFFF move.b [A6 - 0x1], D0
0000169A 3F3C 0004 move.w -[A7], 0x4
0000169E A889 syscall TextMode
000016A0 3F3C 0001 move.w -[A7], 0x1
000016A4 486E FFFF pea.l [A6 - 0x1]
000016A8 2F2E 000C move.l -[A7], [A6 + 0xC]
000016AC 2F2E 0008 move.l -[A7], [A6 + 0x8]
000016B0 A882 syscall StdText
000016B2 4267 clr.w -[A7]
000016B4 A889 syscall TextMode
label000016B6:
000016B6 3007 move.w D0, D7
000016B8 5347 subq.w D7, 1
000016BA 4A40 tst.w D0
000016BC 66A6 bne -0x58 /* 00001664 */
label000016BE:
000016BE 4CDF 1880 movem.l D7,A3,A4, [A7]+
000016C2 4E5E unlink A6
000016C4 205F movea.l A0, [A7]+
000016C6 4FEF 000E lea.l A7, [A7 + 0xE]
000016CA 4ED0 jmp [A0]
fn000016CC:
000016CC 4E56 0000 link A6, 0
000016D0 302D F940 move.w D0, [A5 - 0x6C0]
000016D4 906E 0008 sub.w D0, [A6 + 0x8]
000016D8 48C0 ext.l D0
000016DA 2F00 move.l -[A7], D0
000016DC 42A7 clr.l -[A7]
000016DE 3F3C 000D move.w -[A7], 0xD /* '\r' */
000016E2 4EBA 0366 jsr [PC + 0x366 /* 00001A4A */]
000016E6 4FEF 000A lea.l A7, [A7 + 0xA]
000016EA 206D F94A movea.l A0, [A5 - 0x6B6]
000016EE 302E 0008 move.w D0, [A6 + 0x8]
000016F2 48C0 ext.l D0
000016F4 D080 add.l D0, D0
000016F6 D090 add.l D0, [A0]
000016F8 206D F94A movea.l A0, [A5 - 0x6B6]
000016FC 2050 movea.l A0, [A0]
000016FE 3F28 003C move.w -[A7], [A0 + 0x3C]
00001702 2040 movea.l A0, D0
00001704 3F28 0060 move.w -[A7], [A0 + 0x60]
00001708 4EBA 0376 jsr [PC + 0x376 /* 00001A80 */]
0000170C 588F addq.l A7, 4
0000170E 426D F946 clr.w [A5 - 0x6BA]
00001712 4E5E unlink A6
00001714 4E75 rts
fn00001716:
00001716 48E7 0318 movem.l -[A7], D6,D7,A3,A4
0000171A 4EBA 0404 jsr [PC + 0x404 /* 00001B20 */]
0000171E 2840 movea.l A4, D0
00001720 302D F944 move.w D0, [A5 - 0x6BC]
00001724 48C0 ext.l D0
00001726 D080 add.l D0, D0
00001728 D08C add.l D0, A4
0000172A 0680 0000 0060 addi.l D0, 0x60 /* '`' */
00001730 2640 movea.l A3, D0
00001732 3013 move.w D0, [A3]
00001734 D06D F946 add.w D0, [A5 - 0x6BA]
00001738 3E00 move.w D7, D0
0000173A 302B 0002 move.w D0, [A3 + 0x2]
0000173E 5340 subq.w D0, 1
00001740 3C00 move.w D6, D0
00001742 BE46 cmp.w D7, D6
00001744 6C0E bge +0x10 /* 00001754 */
00001746 3947 0020 move.w [A4 + 0x20], D7
0000174A 3946 0022 move.w [A4 + 0x22], D6
0000174E 2F2D F94A move.l -[A7], [A5 - 0x6B6]
00001752 A9D7 syscall TEDelete
label00001754:
00001754 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
00001758 4E75 rts
fn0000175A:
0000175A 4E56 FFFC link A6, -0x0004
0000175E 48E7 0118 movem.l -[A7], D7,A3,A4
00001762 286E 0008 movea.l A4, [A6 + 0x8]
00001766 3E2E 000C move.w D7, [A6 + 0xC]
0000176A 6000 00F6 bra +0xF8 /* 00001862 */
label0000176E:
0000176E 2D4C FFFC move.l [A6 - 0x4], A4
00001772 7020 moveq.l D0, 0x20
label00001774:
00001774 B01C cmp.b D0, [A4]+
00001776 52CF FFFC dbhi D7, -0x6 /* 00001774 */
0000177A 6302 bls +0x4 /* 0000177E */
0000177C 538C subq.l A4, 1
label0000177E:
0000177E B9EE FFFC cmpa.l A4, [A6 - 0x4]
00001782 6312 bls +0x14 /* 00001796 */
00001784 200C move.l D0, A4
00001786 90AE FFFC sub.l D0, [A6 - 0x4]
0000178A 2F00 move.l -[A7], D0
0000178C 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001790 4EBA 00E2 jsr [PC + 0xE2 /* 00001874 */]
00001794 508F addq.l A7, 8
label00001796:
00001796 4A47 tst.w D7
00001798 6D00 00D2 blt +0xD4 /* 0000186C */
0000179C 082D 0007 F962 btst.b [A5 - 0x69E], 0x7
000017A2 662E bne +0x30 /* 000017D2 */
000017A4 2678 014C movea.l A3, [0x0000014C]
000017A8 6024 bra +0x26 /* 000017CE */
label000017AA:
000017AA 0C6B 0003 0006 cmpi.w [A3 + 0x6], 0x3
000017B0 661A bne +0x1C /* 000017CC */
000017B2 0C2B 002E 000B cmpi.b [A3 + 0xB], 0x2E /* '.' */
000017B8 6612 bne +0x14 /* 000017CC */
000017BA 082B 0000 0014 btst.b [A3 + 0x14], 0x0
000017C0 670A beq +0xC /* 000017CC */
000017C2 7001 moveq.l D0, 0x01
000017C4 1B40 F966 move.b [A5 - 0x69A], D0
000017C8 6000 00A2 bra +0xA4 /* 0000186C */
label000017CC:
000017CC 2653 movea.l A3, [A3]
label000017CE:
000017CE 200B move.l D0, A3
000017D0 66D8 bne -0x26 /* 000017AA */
label000017D2:
000017D2 41D4 lea.l A0, [A4]
000017D4 528C addq.l A4, 1
000017D6 7000 moveq.l D0, 0x00
000017D8 1010 move.b D0, [A0]
000017DA 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
000017DE 0007 000D ori.b D7, 0xD /* '\r' */
000017E2 0080 000E 0016 ori.l D0, 0xE0016
000017E8 0056 0034 ori.w [A6], 0x34 /* '4' */
000017EC 0038 0022 0048 ori.b [0x00000048], 0x22 /* '\"' */
000017F2 3F3C 0004 move.w -[A7], 0x4
000017F6 A9C8 syscall SysBeep
000017F8 6000 0068 bra +0x6A /* 00001862 */
000017FC 4EBA 0322 jsr [PC + 0x322 /* 00001B20 */]
00001800 4A6D F946 tst.w [A5 - 0x6BA]
00001804 6700 005C beq +0x5E /* 00001862 */
00001808 536D F946 subq.w [A5 - 0x6BA], 1
0000180C 6000 0054 bra +0x56 /* 00001862 */
00001810 426D F944 clr.w [A5 - 0x6BC]
00001814 4267 clr.w -[A7]
00001816 4EBA FEB4 jsr [PC - 0x14C /* 000016CC */]
0000181A 548F addq.l A7, 2
0000181C 6044 bra +0x46 /* 00001862 */
0000181E 4EBA 0552 jsr [PC + 0x552 /* 00001D72 */]
00001822 603E bra +0x40 /* 00001862 */
00001824 526D F944 addq.w [A5 - 0x6BC], 1
00001828 302D F944 move.w D0, [A5 - 0x6BC]
0000182C B06D F940 cmp.w D0, [A5 - 0x6C0]
00001830 6630 bne +0x32 /* 00001862 */
00001832 536D F944 subq.w [A5 - 0x6BC], 1
00001836 602A bra +0x2C /* 00001862 */
00001838 426D F946 clr.w [A5 - 0x6BA]
0000183C 6024 bra +0x26 /* 00001862 */
label0000183E:
0000183E 526D F946 addq.w [A5 - 0x6BA], 1
00001842 306D F946 movea.w A0, [A5 - 0x6BA]
00001846 2008 move.l D0, A0
00001848 81ED F948 divs.w D0, [A5 - 0x6B8]
0000184C 4840 swap.w D0
0000184E 4A40 tst.w D0
00001850 66EC bne -0x12 /* 0000183E */
00001852 302D F946 move.w D0, [A5 - 0x6BA]
00001856 B06D F942 cmp.w D0, [A5 - 0x6BE]
0000185A 6F06 ble +0x8 /* 00001862 */
0000185C 3B6D F942 F946 move.w [A5 - 0x6BA], [A5 - 0x6BE]
label00001862:
00001862 3007 move.w D0, D7
00001864 5347 subq.w D7, 1
00001866 4A40 tst.w D0
00001868 6600 FF04 bne -0xFA /* 0000176E */
label0000186C:
0000186C 4CDF 1880 movem.l D7,A3,A4, [A7]+
00001870 4E5E unlink A6
00001872 4E75 rts
fn00001874:
00001874 4E56 0000 link A6, 0
00001878 48E7 0F08 movem.l -[A7], D4,D5,D6,D7,A4
0000187C 2E2E 000C move.l D7, [A6 + 0xC]
label00001880:
00001880 2C07 move.l D6, D7
00001882 306D F946 movea.w A0, [A5 - 0x6BA]
00001886 D1C7 add.l A0, D7
00001888 326D F942 movea.w A1, [A5 - 0x6BE]
0000188C B1C9 cmpa.l A0, A1
0000188E 6F0C ble +0xE /* 0000189C */
00001890 302D F942 move.w D0, [A5 - 0x6BE]
00001894 906D F946 sub.w D0, [A5 - 0x6BA]
00001898 48C0 ext.l D0
0000189A 2C00 move.l D6, D0
label0000189C:
0000189C 206D F94A movea.l A0, [A5 - 0x6B6]
000018A0 302D F944 move.w D0, [A5 - 0x6BC]
000018A4 48C0 ext.l D0
000018A6 D080 add.l D0, D0
000018A8 D090 add.l D0, [A0]
000018AA 0680 0000 0060 addi.l D0, 0x60 /* '`' */
000018B0 2840 movea.l A4, D0
000018B2 3014 move.w D0, [A4]
000018B4 D06D F946 add.w D0, [A5 - 0x6BA]
000018B8 3A00 move.w D5, D0
000018BA 302C 0002 move.w D0, [A4 + 0x2]
000018BE 5340 subq.w D0, 1
000018C0 3800 move.w D4, D0
000018C2 BA44 cmp.w D5, D4
000018C4 6F24 ble +0x26 /* 000018EA */
000018C6 3005 move.w D0, D5
000018C8 9044 sub.w D0, D4
000018CA 48C0 ext.l D0
000018CC 2F00 move.l -[A7], D0
000018CE 42A7 clr.l -[A7]
000018D0 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
000018D4 4EBA 0174 jsr [PC + 0x174 /* 00001A4A */]
000018D8 4FEF 000A lea.l A7, [A7 + 0xA]
000018DC 3F04 move.w -[A7], D4
000018DE 3F04 move.w -[A7], D4
000018E0 4EBA 019E jsr [PC + 0x19E /* 00001A80 */]
000018E4 588F addq.l A7, 4
000018E6 3805 move.w D4, D5
000018E8 6012 bra +0x14 /* 000018FC */
label000018EA:
000018EA 3045 movea.w A0, D5
000018EC D1C6 add.l A0, D6
000018EE 3244 movea.w A1, D4
000018F0 B3C8 cmpa.l A1, A0
000018F2 6F08 ble +0xA /* 000018FC */
000018F4 3045 movea.w A0, D5
000018F6 D1C6 add.l A0, D6
000018F8 2008 move.l D0, A0
000018FA 3800 move.w D4, D0
label000018FC:
000018FC 206E 0008 movea.l A0, [A6 + 0x8]
00001900 2006 move.l D0, D6
00001902 31C0 0AB0 move.w [0x00000AB0 /* TEScrpLength */], D0
00001906 2278 0AB4 movea.l A1, [0x00000AB4 /* TEScrpHandle */]
0000190A A9E2 syscall PtrToXHand
0000190C 3F04 move.w -[A7], D4
0000190E 3F05 move.w -[A7], D5
00001910 4EBA 016E jsr [PC + 0x16E /* 00001A80 */]
00001914 588F addq.l A7, 4
00001916 BC87 cmp.l D6, D7
00001918 6C0E bge +0x10 /* 00001928 */
0000191A 4EBA 0456 jsr [PC + 0x456 /* 00001D72 */]
0000191E DDAE 0008 add.l [A6 + 0x8], D6
00001922 9E86 sub.l D7, D6
00001924 6000 FF5A bra -0xA4 /* 00001880 */
label00001928:
00001928 DD6D F946 add.w [A5 - 0x6BA], D6
0000192C 4CDF 10F0 movem.l D4,D5,D6,D7,A4, [A7]+
00001930 4E5E unlink A6
00001932 4E75 rts
fn00001934:
00001934 4E56 0000 link A6, 0
00001938 2F0C move.l -[A7], A4
0000193A 4EBA 01E4 jsr [PC + 0x1E4 /* 00001B20 */]
0000193E 2840 movea.l A4, D0
00001940 302D F944 move.w D0, [A5 - 0x6BC]
00001944 5240 addq.w D0, 1
00001946 48C0 ext.l D0
00001948 D080 add.l D0, D0
0000194A D08C add.l D0, A4
0000194C 2040 movea.l A0, D0
0000194E 302D F980 move.w D0, [A5 - 0x680]
00001952 5240 addq.w D0, 1
00001954 B068 0060 cmp.w D0, [A0 + 0x60]
00001958 6614 bne +0x16 /* 0000196E */
0000195A 396E 0008 0020 move.w [A4 + 0x20], [A6 + 0x8]
00001960 396E 000A 0022 move.w [A4 + 0x22], [A6 + 0xA]
00001966 2F2D F94A move.l -[A7], [A5 - 0x6B6]
0000196A A9D7 syscall TEDelete
0000196C 6044 bra +0x46 /* 000019B2 */
label0000196E:
0000196E 396E 000A 0020 move.w [A4 + 0x20], [A6 + 0xA]
00001974 396D F980 0022 move.w [A4 + 0x22], [A5 - 0x680]
0000197A 2F2D F94A move.l -[A7], [A5 - 0x6B6]
0000197E A9D5 syscall TECopy
00001980 302D F980 move.w D0, [A5 - 0x680]
00001984 906E 000A sub.w D0, [A6 + 0xA]
00001988 322D F980 move.w D1, [A5 - 0x680]
0000198C 926E 0008 sub.w D1, [A6 + 0x8]
00001990 48C1 ext.l D1
00001992 2F01 move.l -[A7], D1
00001994 48C0 ext.l D0
00001996 2F00 move.l -[A7], D0
00001998 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
0000199C 4EBA 00AC jsr [PC + 0xAC /* 00001A4A */]
000019A0 4FEF 000A lea.l A7, [A7 + 0xA]
000019A4 3F2D F980 move.w -[A7], [A5 - 0x680]
000019A8 3F2E 0008 move.w -[A7], [A6 + 0x8]
000019AC 4EBA 00D2 jsr [PC + 0xD2 /* 00001A80 */]
000019B0 588F addq.l A7, 4
label000019B2:
000019B2 302E 000A move.w D0, [A6 + 0xA]
000019B6 906E 0008 sub.w D0, [A6 + 0x8]
000019BA 916D F980 sub.w [A5 - 0x680], D0
000019BE 285F movea.l A4, [A7]+
000019C0 4E5E unlink A6
000019C2 4E75 rts
fn000019C4:
000019C4 4E56 0000 link A6, 0
000019C8 2F0C move.l -[A7], A4
000019CA 4EBA 0154 jsr [PC + 0x154 /* 00001B20 */]
000019CE 2840 movea.l A4, D0
000019D0 396E 000A 0020 move.w [A4 + 0x20], [A6 + 0xA]
000019D6 302D F944 move.w D0, [A5 - 0x6BC]
000019DA 5240 addq.w D0, 1
000019DC 48C0 ext.l D0
000019DE D080 add.l D0, D0
000019E0 D08C add.l D0, A4
000019E2 2040 movea.l A0, D0
000019E4 302D F980 move.w D0, [A5 - 0x680]
000019E8 5240 addq.w D0, 1
000019EA B068 0060 cmp.w D0, [A0 + 0x60]
000019EE 6616 bne +0x18 /* 00001A06 */
000019F0 396E 000A 0022 move.w [A4 + 0x22], [A6 + 0xA]
000019F6 102E 0009 move.b D0, [A6 + 0x9]
000019FA 4880 ext.w D0
000019FC 3F00 move.w -[A7], D0
000019FE 2F2D F94A move.l -[A7], [A5 - 0x6B6]
00001A02 A9DC syscall TEKey
00001A04 603A bra +0x3C /* 00001A40 */
label00001A06:
00001A06 396D F980 0022 move.w [A4 + 0x22], [A5 - 0x680]
00001A0C 2F2D F94A move.l -[A7], [A5 - 0x6B6]
00001A10 A9D5 syscall TECopy
00001A12 42A7 clr.l -[A7]
00001A14 2F38 0AB4 move.l -[A7], [0x00000AB4 /* TEScrpHandle */]
00001A18 42A7 clr.l -[A7]
00001A1A 42A7 clr.l -[A7]
00001A1C 42A7 clr.l -[A7]
00001A1E 486E 0009 pea.l [A6 + 0x9]
00001A22 4878 0001 push.l 0x1
00001A26 A9E0 syscall Munger
00001A28 201F move.l D0, [A7]+
00001A2A 5278 0AB0 addq.w [0x00000AB0 /* TEScrpLength */], 1
00001A2E 302D F980 move.w D0, [A5 - 0x680]
00001A32 5240 addq.w D0, 1
00001A34 3F00 move.w -[A7], D0
00001A36 3F2E 000A move.w -[A7], [A6 + 0xA]
00001A3A 4EBA 0044 jsr [PC + 0x44 /* 00001A80 */]
00001A3E 588F addq.l A7, 4
label00001A40:
00001A40 526D F980 addq.w [A5 - 0x680], 1
00001A44 285F movea.l A4, [A7]+
00001A46 4E5E unlink A6
00001A48 4E75 rts
fn00001A4A:
00001A4A 4E56 0000 link A6, 0
00001A4E 48E7 0700 movem.l -[A7], D5,D6,D7
00001A52 1E2E 0009 move.b D7, [A6 + 0x9]
00001A56 2C2E 000A move.l D6, [A6 + 0xA]
00001A5A 2A2E 000E move.l D5, [A6 + 0xE]
00001A5E 2078 0AB4 movea.l A0, [0x00000AB4 /* TEScrpHandle */]
00001A62 2005 move.l D0, D5
00001A64 31C0 0AB0 move.w [0x00000AB0 /* TEScrpLength */], D0
00001A68 A024 syscall SetHandleSize
00001A6A 2050 movea.l A0, [A0]
00001A6C D1C6 add.l A0, D6
00001A6E 9A86 sub.l D5, D6
00001A70 6002 bra +0x4 /* 00001A74 */
label00001A72:
00001A72 10C7 move.b [A0]+, D7
label00001A74:
00001A74 51CD FFFC dbf D5, -0x6 /* 00001A72 */
00001A78 4CDF 00E0 movem.l D5,D6,D7, [A7]+
00001A7C 4E5E unlink A6
00001A7E 4E75 rts
fn00001A80:
00001A80 4E56 0000 link A6, 0
00001A84 2F0C move.l -[A7], A4
00001A86 4EBA 0098 jsr [PC + 0x98 /* 00001B20 */]
00001A8A 2840 movea.l A4, D0
00001A8C 396E 0008 0020 move.w [A4 + 0x20], [A6 + 0x8]
00001A92 396E 000A 0022 move.w [A4 + 0x22], [A6 + 0xA]
00001A98 2F2D F94A move.l -[A7], [A5 - 0x6B6]
00001A9C A9DB syscall TEPaste
00001A9E 285F movea.l A4, [A7]+
00001AA0 4E5E unlink A6
00001AA2 4E75 rts
fn00001AA4:
00001AA4 4E56 0000 link A6, 0
00001AA8 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00001AAC 3E2E 0008 move.w D7, [A6 + 0x8]
00001AB0 4EBA 006E jsr [PC + 0x6E /* 00001B20 */]
00001AB4 2840 movea.l A4, D0
00001AB6 302D F944 move.w D0, [A5 - 0x6BC]
00001ABA 48C0 ext.l D0
00001ABC D080 add.l D0, D0
00001ABE D08C add.l D0, A4
00001AC0 0680 0000 0060 addi.l D0, 0x60 /* '`' */
00001AC6 2640 movea.l A3, D0
00001AC8 302B 0002 move.w D0, [A3 + 0x2]
00001ACC 5340 subq.w D0, 1
00001ACE 3C00 move.w D6, D0
00001AD0 3013 move.w D0, [A3]
00001AD2 D06D F946 add.w D0, [A5 - 0x6BA]
00001AD6 DE40 add.w D7, D0
00001AD8 BE46 cmp.w D7, D6
00001ADA 6F26 ble +0x28 /* 00001B02 */
00001ADC 3007 move.w D0, D7
00001ADE 9046 sub.w D0, D6
00001AE0 48C0 ext.l D0
00001AE2 2F00 move.l -[A7], D0
00001AE4 42A7 clr.l -[A7]
00001AE6 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
00001AEA 4EBA FF5E jsr [PC - 0xA2 /* 00001A4A */]
00001AEE 4FEF 000A lea.l A7, [A7 + 0xA]
00001AF2 3F06 move.w -[A7], D6
00001AF4 3F06 move.w -[A7], D6
00001AF6 4EBA FF88 jsr [PC - 0x78 /* 00001A80 */]
00001AFA 588F addq.l A7, 4
00001AFC 206D F94A movea.l A0, [A5 - 0x6B6]
00001B00 2850 movea.l A4, [A0]
label00001B02:
00001B02 3947 0022 move.w [A4 + 0x22], D7
00001B06 3947 0020 move.w [A4 + 0x20], D7
00001B0A 397C 00FF 0046 move.w [A4 + 0x46], 0xFF
00001B10 2F2D F94A move.l -[A7], [A5 - 0x6B6]
00001B14 A9D8 syscall TEActivate
00001B16 3007 move.w D0, D7
00001B18 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
00001B1C 4E5E unlink A6
00001B1E 4E75 rts
fn00001B20:
00001B20 206D F94A movea.l A0, [A5 - 0x6B6]
00001B24 2050 movea.l A0, [A0]
00001B26 4A68 0024 tst.w [A0 + 0x24]
00001B2A 6706 beq +0x8 /* 00001B32 */
00001B2C 2F2D F94A move.l -[A7], [A5 - 0x6B6]
00001B30 A9D9 syscall TEDeactivate
label00001B32:
00001B32 206D F94A movea.l A0, [A5 - 0x6B6]
00001B36 2010 move.l D0, [A0]
00001B38 4E75 rts
fn00001B3A:
00001B3A 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
00001B3E 3E2D F940 move.w D7, [A5 - 0x6C0]
00001B42 206D F94A movea.l A0, [A5 - 0x6B6]
00001B46 2850 movea.l A4, [A0]
00001B48 6000 00AA bra +0xAC /* 00001BF4 */
label00001B4C:
00001B4C 3007 move.w D0, D7
00001B4E 5347 subq.w D7, 1
00001B50 48C0 ext.l D0
00001B52 D080 add.l D0, D0
00001B54 D08C add.l D0, A4
00001B56 2040 movea.l A0, D0
00001B58 3028 0060 move.w D0, [A0 + 0x60]
00001B5C 5340 subq.w D0, 1
00001B5E 3A00 move.w D5, D0
00001B60 3C00 move.w D6, D0
00001B62 206C 003E movea.l A0, [A4 + 0x3E]
00001B66 3246 movea.w A1, D6
00001B68 D3D0 add.l A1, [A0]
00001B6A 2649 movea.l A3, A1
00001B6C 6002 bra +0x4 /* 00001B70 */
label00001B6E:
00001B6E 5346 subq.w D6, 1
label00001B70:
00001B70 4A46 tst.w D6
00001B72 6708 beq +0xA /* 00001B7C */
00001B74 538B subq.l A3, 1
00001B76 0C13 0020 cmpi.b [A3], 0x20 /* ' ' */
00001B7A 67F2 beq -0xC /* 00001B6E */
label00001B7C:
00001B7C 082D 0004 F962 btst.b [A5 - 0x69E], 0x4
00001B82 6718 beq +0x1A /* 00001B9C */
00001B84 082D 0007 F962 btst.b [A5 - 0x69E], 0x7
00001B8A 6610 bne +0x12 /* 00001B9C */
00001B8C BE6D F944 cmp.w D7, [A5 - 0x6BC]
00001B90 660A bne +0xC /* 00001B9C */
00001B92 BC6D F980 cmp.w D6, [A5 - 0x680]
00001B96 6C04 bge +0x6 /* 00001B9C */
00001B98 3C2D F980 move.w D6, [A5 - 0x680]
label00001B9C:
00001B9C 9A46 sub.w D5, D6
00001B9E 4A45 tst.w D5
00001BA0 6700 0052 beq +0x54 /* 00001BF4 */
00001BA4 42A7 clr.l -[A7]
00001BA6 2F2C 003E move.l -[A7], [A4 + 0x3E]
00001BAA 3046 movea.w A0, D6
00001BAC 2F08 move.l -[A7], A0
00001BAE 42A7 clr.l -[A7]
00001BB0 3045 movea.w A0, D5
00001BB2 2F08 move.l -[A7], A0
00001BB4 486D FA2C pea.l [A5 - 0x5D4]
00001BB8 42A7 clr.l -[A7]
00001BBA A9E0 syscall Munger
00001BBC 201F move.l D0, [A7]+
00001BBE 206D F94A movea.l A0, [A5 - 0x6B6]
00001BC2 2850 movea.l A4, [A0]
00001BC4 082D 0004 F962 btst.b [A5 - 0x69E], 0x4
00001BCA 6714 beq +0x16 /* 00001BE0 */
00001BCC BC6D F97E cmp.w D6, [A5 - 0x682]
00001BD0 6C04 bge +0x6 /* 00001BD6 */
00001BD2 9B6D F97E sub.w [A5 - 0x682], D5
label00001BD6:
00001BD6 BC6D F980 cmp.w D6, [A5 - 0x680]
00001BDA 6C04 bge +0x6 /* 00001BE0 */
00001BDC 9B6D F980 sub.w [A5 - 0x680], D5
label00001BE0:
00001BE0 BC6C 0020 cmp.w D6, [A4 + 0x20]
00001BE4 6C04 bge +0x6 /* 00001BEA */
00001BE6 9B6C 0020 sub.w [A4 + 0x20], D5
label00001BEA:
00001BEA BC6C 0022 cmp.w D6, [A4 + 0x22]
00001BEE 6C04 bge +0x6 /* 00001BF4 */
00001BF0 9B6C 0022 sub.w [A4 + 0x22], D5
label00001BF4:
00001BF4 4A47 tst.w D7
00001BF6 6600 FF54 bne -0xAA /* 00001B4C */
00001BFA 2F2D F94A move.l -[A7], [A5 - 0x6B6]
00001BFE A9D0 syscall TECalText
00001C00 4CDF 18E0 movem.l D5,D6,D7,A3,A4, [A7]+
00001C04 4E75 rts
fn00001C06:
00001C06 4E56 FFF8 link A6, -0x0008
00001C0A 206D F938 movea.l A0, [A5 - 0x6C8]
00001C0E 43EE FFF8 lea.l A1, [A6 - 0x8]
00001C12 41E8 0010 lea.l A0, [A0 + 0x10]
00001C16 22D8 move.l [A1]+, [A0]+
00001C18 22D8 move.l [A1]+, [A0]+
00001C1A 486E FFF8 pea.l [A6 - 0x8]
00001C1E A928 syscall InvalRect
00001C20 486E FFF8 pea.l [A6 - 0x8]
00001C24 3F3C 0004 move.w -[A7], 0x4
00001C28 3F3C 0004 move.w -[A7], 0x4
00001C2C A8A9 syscall InsetRect
00001C2E 206D F94A movea.l A0, [A5 - 0x6B6]
00001C32 2050 movea.l A0, [A0]
00001C34 5088 addq.l A0, 8
00001C36 43EE FFF8 lea.l A1, [A6 - 0x8]
00001C3A 20D9 move.l [A0]+, [A1]+
00001C3C 20D9 move.l [A0]+, [A1]+
00001C3E 302D F93C move.w D0, [A5 - 0x6C4]
00001C42 C1ED F940 muls.w D0, [A5 - 0x6C0]
00001C46 322E FFFC move.w D1, [A6 - 0x4]
00001C4A 9240 sub.w D1, D0
00001C4C 3D41 FFF8 move.w [A6 - 0x8], D1
00001C50 206D F94A movea.l A0, [A5 - 0x6B6]
00001C54 2050 movea.l A0, [A0]
00001C56 43EE FFF8 lea.l A1, [A6 - 0x8]
00001C5A 20D9 move.l [A0]+, [A1]+
00001C5C 20D9 move.l [A0]+, [A1]+
00001C5E 4E5E unlink A6
00001C60 4E75 rts
fn00001C62:
00001C62 4E56 FFF8 link A6, -0x0008
00001C66 2F0C move.l -[A7], A4
00001C68 286E 0008 movea.l A4, [A6 + 0x8]
00001C6C 206E 000C movea.l A0, [A6 + 0xC]
00001C70 4868 0004 pea.l [A0 + 0x4]
00001C74 A874 syscall GetPort
00001C76 206E 000C movea.l A0, [A6 + 0xC]
00001C7A 20AD F96E move.l [A0], [A5 - 0x692]
00001C7E 200C move.l D0, A4
00001C80 674C beq +0x4E /* 00001CCE */
00001C82 302C 006C move.w D0, [A4 + 0x6C]
00001C86 B06D F968 cmp.w D0, [A5 - 0x698]
00001C8A 6642 bne +0x44 /* 00001CCE */
00001C8C 2F0C move.l -[A7], A4
00001C8E 4EBA 0068 jsr [PC + 0x68 /* 00001CF8 */]
00001C92 588F addq.l A7, 4
00001C94 2F0C move.l -[A7], A4
00001C96 A873 syscall SetPort
00001C98 4267 clr.w -[A7]
00001C9A 2F2C 007A move.l -[A7], [A4 + 0x7A]
00001C9E A8E2 syscall EmptyRgn
00001CA0 101F move.b D0, [A7]+
00001CA2 4A00 tst.b D0
00001CA4 6624 bne +0x26 /* 00001CCA */
00001CA6 41EE FFF8 lea.l A0, [A6 - 0x8]
00001CAA 43EC 0010 lea.l A1, [A4 + 0x10]
00001CAE 20D9 move.l [A0]+, [A1]+
00001CB0 20D9 move.l [A0]+, [A1]+
00001CB2 2F0C move.l -[A7], A4
00001CB4 A922 syscall BeginUpdate
00001CB6 486E FFF8 pea.l [A6 - 0x8]
00001CBA A8A3 syscall EraseRect
00001CBC 486E FFF8 pea.l [A6 - 0x8]
00001CC0 2F2D F94A move.l -[A7], [A5 - 0x6B6]
00001CC4 A9D3 syscall TEUpdate
00001CC6 2F0C move.l -[A7], A4
00001CC8 A923 syscall EndUpdate
label00001CCA:
00001CCA 2B4C F96E move.l [A5 - 0x692], A4
label00001CCE:
00001CCE 285F movea.l A4, [A7]+
00001CD0 4E5E unlink A6
00001CD2 4E75 rts
fn00001CD4:
00001CD4 4E56 0000 link A6, 0
00001CD8 2F0C move.l -[A7], A4
00001CDA 286E 0008 movea.l A4, [A6 + 0x8]
00001CDE 2B54 F96E move.l [A5 - 0x692], [A4]
00001CE2 6708 beq +0xA /* 00001CEC */
00001CE4 2F14 move.l -[A7], [A4]
00001CE6 4EBA 0010 jsr [PC + 0x10 /* 00001CF8 */]
00001CEA 588F addq.l A7, 4
label00001CEC:
00001CEC 2F2C 0004 move.l -[A7], [A4 + 0x4]
00001CF0 A873 syscall SetPort
00001CF2 285F movea.l A4, [A7]+
00001CF4 4E5E unlink A6
00001CF6 4E75 rts
fn00001CF8:
00001CF8 4E56 0000 link A6, 0
00001CFC 202E 0008 move.l D0, [A6 + 0x8]
00001D00 B0AD F938 cmp.l D0, [A5 - 0x6C8]
00001D04 6738 beq +0x3A /* 00001D3E */
00001D06 4AAD F938 tst.l [A5 - 0x6C8]
00001D0A 6716 beq +0x18 /* 00001D22 */
00001D0C 206D F938 movea.l A0, [A5 - 0x6C8]
00001D10 2068 0098 movea.l A0, [A0 + 0x98]
00001D14 2050 movea.l A0, [A0]
00001D16 43ED F938 lea.l A1, [A5 - 0x6C8]
00001D1A 700A moveq.l D0, 0x0A
label00001D1C:
00001D1C 20D9 move.l [A0]+, [A1]+
00001D1E 51C8 FFFC dbf D0, -0x6 /* 00001D1C */
label00001D22:
00001D22 4AAE 0008 tst.l [A6 + 0x8]
00001D26 6716 beq +0x18 /* 00001D3E */
00001D28 206E 0008 movea.l A0, [A6 + 0x8]
00001D2C 2068 0098 movea.l A0, [A0 + 0x98]
00001D30 2050 movea.l A0, [A0]
00001D32 43ED F938 lea.l A1, [A5 - 0x6C8]
00001D36 700A moveq.l D0, 0x0A
label00001D38:
00001D38 22D8 move.l [A1]+, [A0]+
00001D3A 51C8 FFFC dbf D0, -0x6 /* 00001D38 */
label00001D3E:
00001D3E 4E5E unlink A6
00001D40 4E75 rts
fn00001D42:
00001D42 2078 0AB4 movea.l A0, [0x00000AB4 /* TEScrpHandle */]
00001D46 A029 syscall HLock
00001D48 2010 move.l D0, [A0]
00001D4A 082D 0003 F962 btst.b [A5 - 0x69E], 0x3
00001D50 6716 beq +0x18 /* 00001D68 */
00001D52 2240 movea.l A1, D0
00001D54 3238 0AB0 move.w D1, [0x00000AB0 /* TEScrpLength */]
00001D58 600A bra +0xC /* 00001D64 */
label00001D5A:
00001D5A 4A19 tst.b [A1]+
00001D5C 6A06 bpl +0x8 /* 00001D64 */
00001D5E 08A9 0007 FFFF bclr.b [A1 - 0x1], 0x7
label00001D64:
00001D64 51C9 FFF4 dbf D1, -0xE /* 00001D5A */
label00001D68:
00001D68 4E75 rts
fn00001D6A:
00001D6A 2078 0AB4 movea.l A0, [0x00000AB4 /* TEScrpHandle */]
00001D6E A02A syscall HUnlock
00001D70 4E75 rts
fn00001D72:
00001D72 4E56 FFDE link A6, -0x0022
00001D76 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00001D7A 4EBA FDA4 jsr [PC - 0x25C /* 00001B20 */]
00001D7E 2840 movea.l A4, D0
00001D80 082D 0004 F962 btst.b [A5 - 0x69E], 0x4
00001D86 6712 beq +0x14 /* 00001D9A */
00001D88 082D 0005 F962 btst.b [A5 - 0x69E], 0x5
00001D8E 660A bne +0xC /* 00001D9A */
00001D90 082D 0006 F962 btst.b [A5 - 0x69E], 0x6
00001D96 6700 00F8 beq +0xFA /* 00001E90 */
label00001D9A:
00001D9A 41EE FFE0 lea.l A0, [A6 - 0x20]
00001D9E 7002 moveq.l D0, 0x02
00001DA0 A031 syscall GetOSEvent
00001DA2 6606 bne +0x8 /* 00001DAA */
label00001DA4:
00001DA4 7004 moveq.l D0, 0x04
00001DA6 A031 syscall GetOSEvent
00001DA8 66FA bne -0x4 /* 00001DA4 */
label00001DAA:
00001DAA 4AAD F95E tst.l [A5 - 0x6A2]
00001DAE 6742 beq +0x44 /* 00001DF2 */
00001DB0 302D F944 move.w D0, [A5 - 0x6BC]
00001DB4 48C0 ext.l D0
00001DB6 D080 add.l D0, D0
00001DB8 D08C add.l D0, A4
00001DBA 0680 0000 0060 addi.l D0, 0x60 /* '`' */
00001DC0 2640 movea.l A3, D0
00001DC2 3953 0020 move.w [A4 + 0x20], [A3]
00001DC6 396B 0002 0022 move.w [A4 + 0x22], [A3 + 0x2]
00001DCC 2F2D F94A move.l -[A7], [A5 - 0x6B6]
00001DD0 A9D5 syscall TECopy
00001DD2 4EBA FF6E jsr [PC - 0x92 /* 00001D42 */]
00001DD6 2F2D F95E move.l -[A7], [A5 - 0x6A2]
00001DDA 3078 0AB0 movea.w A0, [0x00000AB0 /* TEScrpLength */]
00001DDE 2F08 move.l -[A7], A0
00001DE0 4878 0001 push.l 0x1
00001DE4 2F00 move.l -[A7], D0
00001DE6 4EBA 1346 jsr [PC + 0x1346 /* 0000312E */]
00001DEA 4FEF 0010 lea.l A7, [A7 + 0x10]
00001DEE 4EBA FF7A jsr [PC - 0x86 /* 00001D6A */]
label00001DF2:
00001DF2 526D F944 addq.w [A5 - 0x6BC], 1
00001DF6 302D F944 move.w D0, [A5 - 0x6BC]
00001DFA B06D F940 cmp.w D0, [A5 - 0x6C0]
00001DFE 6600 008C bne +0x8E /* 00001E8C */
00001E02 206D F94A movea.l A0, [A5 - 0x6B6]
00001E06 2850 movea.l A4, [A0]
00001E08 2D6C 003E FFF0 move.l [A6 - 0x10], [A4 + 0x3E]
00001E0E 3E2C 0062 move.w D7, [A4 + 0x62]
00001E12 9F6C 003C sub.w [A4 + 0x3C], D7
00001E16 3C2C 003C move.w D6, [A4 + 0x3C]
00001E1A 526C 003C addq.w [A4 + 0x3C], 1
00001E1E 41EE FFF8 lea.l A0, [A6 - 0x8]
00001E22 43D4 lea.l A1, [A4]
00001E24 20D9 move.l [A0]+, [A1]+
00001E26 20D9 move.l [A0]+, [A1]+
00001E28 302D F93C move.w D0, [A5 - 0x6C4]
00001E2C 4440 neg.w D0
00001E2E 42A7 clr.l -[A7]
00001E30 3D40 FFDE move.w [A6 - 0x22], D0
00001E34 A8D8 syscall NewRgn
00001E36 205F movea.l A0, [A7]+
00001E38 2D48 FFF4 move.l [A6 - 0xC], A0
00001E3C 486E FFF8 pea.l [A6 - 0x8]
00001E40 4267 clr.w -[A7]
00001E42 3F2E FFDE move.w -[A7], [A6 - 0x22]
00001E46 4850 pea.l [A0]
00001E48 A8EF syscall ScrollRect
00001E4A 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00001E4E A8D9 syscall DisposRgn/DisposeRgn
00001E50 42A7 clr.l -[A7]
00001E52 2F2E FFF0 move.l -[A7], [A6 - 0x10]
00001E56 42A7 clr.l -[A7]
00001E58 42A7 clr.l -[A7]
00001E5A 3047 movea.w A0, D7
00001E5C 2F08 move.l -[A7], A0
00001E5E 486D FA2E pea.l [A5 - 0x5D2]
00001E62 42A7 clr.l -[A7]
00001E64 A9E0 syscall Munger
00001E66 201F move.l D0, [A7]+
00001E68 42A7 clr.l -[A7]
00001E6A 2F2E FFF0 move.l -[A7], [A6 - 0x10]
00001E6E 3046 movea.w A0, D6
00001E70 2F08 move.l -[A7], A0
00001E72 42A7 clr.l -[A7]
00001E74 42A7 clr.l -[A7]
00001E76 486D FA30 pea.l [A5 - 0x5D0]
00001E7A 4878 0001 push.l 0x1
00001E7E A9E0 syscall Munger
00001E80 201F move.l D0, [A7]+
00001E82 2F2D F94A move.l -[A7], [A5 - 0x6B6]
00001E86 A9D0 syscall TECalText
00001E88 536D F944 subq.w [A5 - 0x6BC], 1
label00001E8C:
00001E8C 426D F946 clr.w [A5 - 0x6BA]
label00001E90:
00001E90 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
00001E94 4E5E unlink A6
00001E96 4E75 rts
fn00001E98:
00001E98 4E56 FFFA link A6, -0x0006
00001E9C 2F0C move.l -[A7], A4
00001E9E 4AAD F9AC tst.l [A5 - 0x654]
00001EA2 661C bne +0x1E /* 00001EC0 */
00001EA4 41ED 00F2 lea.l A0, [A5 + 0xF2 /* export_26 */]
00001EA8 2B48 F9A2 move.l [A5 - 0x65E], A0
00001EAC 41ED 00FA lea.l A0, [A5 + 0xFA /* export_27 */]
00001EB0 2B48 F9A8 move.l [A5 - 0x658], A0
00001EB4 41ED F982 lea.l A0, [A5 - 0x67E]
00001EB8 702A moveq.l D0, 0x2A
00001EBA A9E3 syscall PtrToHand
00001EBC 2B48 F9AC move.l [A5 - 0x654], A0
label00001EC0:
00001EC0 701B moveq.l D0, 0x1B
00001EC2 3D40 FFFE move.w [A6 - 0x2], D0
00001EC6 6012 bra +0x14 /* 00001EDA */
label00001EC8:
00001EC8 206E FFFA movea.l A0, [A6 - 0x6]
00001ECC 2050 movea.l A0, [A0]
00001ECE 0828 0005 0005 btst.b [A0 + 0x5], 0x5
00001ED4 6718 beq +0x1A /* 00001EEE */
00001ED6 526E FFFE addq.w [A6 - 0x2], 1
label00001EDA:
00001EDA 302E FFFE move.w D0, [A6 - 0x2]
00001EDE 48C0 ext.l D0
00001EE0 E580 asl D0, 2
00001EE2 D0B8 011C add.l D0, [0x0000011C /* UTableBase */]
00001EE6 2040 movea.l A0, D0
00001EE8 2D50 FFFA move.l [A6 - 0x6], [A0]
00001EEC 66DA bne -0x24 /* 00001EC8 */
label00001EEE:
00001EEE 302E FFFE move.w D0, [A6 - 0x2]
00001EF2 4640 not.w D0
00001EF4 3D40 FFFE move.w [A6 - 0x2], D0
00001EF8 302E FFFE move.w D0, [A6 - 0x2]
00001EFC A13D syscall DrvrInstall, flags=1
00001EFE 2850 movea.l A4, [A0]
00001F00 28AD F9AC move.l [A4], [A5 - 0x654]
00001F04 396D F982 0004 move.w [A4 + 0x4], [A5 - 0x67E]
00001F0A 396D F986 0024 move.w [A4 + 0x24], [A5 - 0x67A]
00001F10 302E FFFE move.w D0, [A6 - 0x2]
00001F14 285F movea.l A4, [A7]+
00001F16 4E5E unlink A6
00001F18 4E75 rts
export_27:
00001F1A 70E8 moveq.l D0, 0xFFFFFFE8
00001F1C 4E75 rts
export_26:
00001F1E 4E56 FFEA link A6, -0x0016
00001F22 48E7 0018 movem.l -[A7], A3,A4
00001F26 2F0D move.l -[A7], A5
00001F28 2A78 0904 movea.l A5, [0x00000904 /* CurrentA5 */]
00001F2C 2848 movea.l A4, A0
00001F2E 2D49 FFFC move.l [A6 - 0x4], A1
00001F32 42A7 clr.l -[A7]
00001F34 A924 syscall FrontWindow
00001F36 205F movea.l A0, [A7]+
00001F38 486E FFF4 pea.l [A6 - 0xC]
00001F3C 4850 pea.l [A0]
00001F3E 4EBA FD22 jsr [PC - 0x2DE /* 00001C62 */]
00001F42 508F addq.l A7, 8
00001F44 302C 001A move.w D0, [A4 + 0x1A]
00001F48 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
00001F4C 0040 0049 ori.w D0, 0x49 /* 'I' */
00001F50 00B0 0042 00AC 0010 ori.l [A0 + D0.w + 0x10], 0x4200AC
00001F58 00A8 00A6 00A4 0010 ori.l [A0 + 0x10], 0xA600A4
00001F60 0016 001C ori.b [A6], 0x1C
00001F64 0022 4EBA ori.b -[A2], 0xBA
00001F68 00BC 6000 0094 4EBA 0564 ori.l 0x4EBA0564, 0x60000094
00001F72 6000 008C bra +0x8E /* 00002000 */
00001F76 4EBA 05AA jsr [PC + 0x5AA /* 00002522 */]
00001F7A 6000 0084 bra +0x86 /* 00002000 */
00001F7E 4EBA 05E6 jsr [PC + 0x5E6 /* 00002566 */]
00001F82 6000 007C bra +0x7E /* 00002000 */
00001F86 3F3C 001B move.w -[A7], 0x1B
00001F8A 4EBA 0336 jsr [PC + 0x336 /* 000022C2 */]
00001F8E 548F addq.l A7, 2
00001F90 6000 006E bra +0x70 /* 00002000 */
00001F94 266C 001C movea.l A3, [A4 + 0x1C]
00001F98 3013 move.w D0, [A3]
00001F9A 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
00001F9E 0001 0006 ori.b D1, 0x6
00001FA2 005E 001C ori.w [A6]+, 0x1C
00001FA6 005A 0022 ori.w [A2]+, 0x22 /* '\"' */
00001FAA 0056 001E ori.w [A6], 0x1E
00001FAE 0002 486E ori.b D2, 0x6E /* 'n' */
00001FB2 FFEC .invalid <<F/7/7>>
00001FB4 2F2B 0002 move.l -[A7], [A3 + 0x2]
00001FB8 4EBA FCA8 jsr [PC - 0x358 /* 00001C62 */]
00001FBC 508F addq.l A7, 8
00001FBE 6040 bra +0x42 /* 00002000 */
00001FC0 2F0B move.l -[A7], A3
00001FC2 4EBA 00A2 jsr [PC + 0xA2 /* 00002066 */]
00001FC6 588F addq.l A7, 4
00001FC8 6036 bra +0x38 /* 00002000 */
00001FCA 7000 moveq.l D0, 0x00
00001FCC 102B 0005 move.b D0, [A3 + 0x5]
00001FD0 3D40 FFEA move.w [A6 - 0x16], D0
00001FD4 082B 0000 000E btst.b [A3 + 0xE], 0x0
00001FDA 6714 beq +0x16 /* 00001FF0 */
00001FDC 0C53 0005 cmpi.w [A3], 0x5
00001FE0 671E beq +0x20 /* 00002000 */
00001FE2 3F2E FFEA move.w -[A7], [A6 - 0x16]
00001FE6 4EBA 023E jsr [PC + 0x23E /* 00002226 */]
00001FEA 548F addq.l A7, 2
00001FEC 3D40 FFEA move.w [A6 - 0x16], D0
label00001FF0:
00001FF0 4A6E FFEA tst.w [A6 - 0x16]
00001FF4 670A beq +0xC /* 00002000 */
00001FF6 3F2E FFEA move.w -[A7], [A6 - 0x16]
00001FFA 4EBA 02C6 jsr [PC + 0x2C6 /* 000022C2 */]
00001FFE 548F addq.l A7, 2
label00002000:
00002000 206D F9AC movea.l A0, [A5 - 0x654]
00002004 A02A syscall HUnlock
00002006 206E FFFC movea.l A0, [A6 - 0x4]
0000200A A528 syscall RecoverHandle, flags=5
0000200C A02A syscall HUnlock
0000200E 486E FFF4 pea.l [A6 - 0xC]
00002012 4EBA FCC0 jsr [PC - 0x340 /* 00001CD4 */]
00002016 588F addq.l A7, 4
00002018 2A5F movea.l A5, [A7]+
0000201A 7000 moveq.l D0, 0x00
0000201C 4CDF 1800 movem.l A3,A4, [A7]+
00002020 4E5E unlink A6
00002022 4E75 rts
00002024 4E56 FFFC link A6, -0x0004
00002028 2F2D F94A move.l -[A7], [A5 - 0x6B6]
0000202C A9DA syscall TEIdle
0000202E 486E FFFC pea.l [A6 - 0x4]
00002032 A972 syscall GetMouse
00002034 4267 clr.w -[A7]
00002036 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000203A 206D F938 movea.l A0, [A5 - 0x6C8]
0000203E 4868 0010 pea.l [A0 + 0x10]
00002042 A8AD syscall PtInRect
00002044 101F move.b D0, [A7]+
00002046 4A00 tst.b D0
00002048 6710 beq +0x12 /* 0000205A */
0000204A 42A7 clr.l -[A7]
0000204C 3F3C 0001 move.w -[A7], 0x1
00002050 A9B9 syscall GetCursor
00002052 205F movea.l A0, [A7]+
00002054 2F10 move.l -[A7], [A0]
00002056 A851 syscall SetCursor
00002058 6008 bra +0xA /* 00002062 */
label0000205A:
0000205A 2055 movea.l A0, [A5]
0000205C 4868 FF94 pea.l [A0 - 0x6C]
00002060 A851 syscall SetCursor
label00002062:
00002062 4E5E unlink A6
00002064 4E75 rts
fn00002066:
00002066 4E56 FFFE link A6, -0x0002
0000206A 2F0C move.l -[A7], A4
0000206C 286E 0008 movea.l A4, [A6 + 0x8]
00002070 206D F938 movea.l A0, [A5 - 0x6C8]
00002074 7008 moveq.l D0, 0x08
00002076 3140 006C move.w [A0 + 0x6C], D0
0000207A 4267 clr.w -[A7]
0000207C 2F2C 000A move.l -[A7], [A4 + 0xA]
00002080 486D F938 pea.l [A5 - 0x6C8]
00002084 A92C syscall FindWindow
00002086 301F move.w D0, [A7]+
00002088 3D40 FFFE move.w [A6 - 0x2], D0
0000208C 206D F938 movea.l A0, [A5 - 0x6C8]
00002090 316D F968 006C move.w [A0 + 0x6C], [A5 - 0x698]
00002096 302E FFFE move.w D0, [A6 - 0x2]
0000209A 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
0000209E 0003 0008 ori.b D3, 0x8
000020A2 003E 0034 ori.b <<invalid special address>>, 0x34 /* '4' */
000020A6 003A 0018 0036 ori.b [PC + 0x36 /* 000020DE, value 0x58 'X' */], 0x18
000020AC 0004 0002 ori.b D4, 0x2
000020B0 3F2E FFFE move.w -[A7], [A6 - 0x2]
000020B4 2F2C 000A move.l -[A7], [A4 + 0xA]
000020B8 4EBA 002C jsr [PC + 0x2C /* 000020E6 */]
000020BC 5C8F addq.l A7, 6
000020BE 6020 bra +0x22 /* 000020E0 */
000020C0 303C 0900 move.w D0, 0x900 /* '\t\0' */
000020C4 C06C 000E and.w D0, [A4 + 0xE]
000020C8 4A40 tst.w D0
000020CA 660C bne +0xE /* 000020D8 */
000020CC 2F2C 000A move.l -[A7], [A4 + 0xA]
000020D0 4EBA 004E jsr [PC + 0x4E /* 00002120 */]
000020D4 588F addq.l A7, 4
000020D6 6008 bra +0xA /* 000020E0 */
label000020D8:
000020D8 2F0C move.l -[A7], A4
000020DA 4EBA 008C jsr [PC + 0x8C /* 00002168 */]
000020DE 588F addq.l A7, 4
label000020E0:
000020E0 285F movea.l A4, [A7]+
000020E2 4E5E unlink A6
000020E4 4E75 rts
fn000020E6:
000020E6 4E56 0000 link A6, 0
000020EA 2F0C move.l -[A7], A4
000020EC 286D F938 movea.l A4, [A5 - 0x6C8]
000020F0 A850 syscall InitCursor
000020F2 4267 clr.w -[A7]
000020F4 2F0C move.l -[A7], A4
000020F6 2F2E 0008 move.l -[A7], [A6 + 0x8]
000020FA 3F2E 000C move.w -[A7], [A6 + 0xC]
000020FE A83B syscall TrackBox
00002100 101F move.b D0, [A7]+
00002102 4A00 tst.b D0
00002104 6714 beq +0x16 /* 0000211A */
00002106 486C 0010 pea.l [A4 + 0x10]
0000210A A8A3 syscall EraseRect
0000210C 2F0C move.l -[A7], A4
0000210E 3F2E 000C move.w -[A7], [A6 + 0xC]
00002112 4267 clr.w -[A7]
00002114 A83A syscall ZoomWindow
00002116 4EBA FAEE jsr [PC - 0x512 /* 00001C06 */]
label0000211A:
0000211A 285F movea.l A4, [A7]+
0000211C 4E5E unlink A6
0000211E 4E75 rts
fn00002120:
00002120 4E56 FFFC link A6, -0x0004
00002124 2F0C move.l -[A7], A4
00002126 286D F938 movea.l A4, [A5 - 0x6C8]
0000212A A850 syscall InitCursor
0000212C 2B6D F94E F9BC move.l [A5 - 0x644], [A5 - 0x6B2]
00002132 42A7 clr.l -[A7]
00002134 2F0C move.l -[A7], A4
00002136 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000213A 486D F9B8 pea.l [A5 - 0x648]
0000213E A92B syscall GrowWindow
00002140 201F move.l D0, [A7]+
00002142 2D40 FFFC move.l [A6 - 0x4], D0
00002146 4A80 tst.l D0
00002148 6718 beq +0x1A /* 00002162 */
0000214A 486C 0010 pea.l [A4 + 0x10]
0000214E A8A3 syscall EraseRect
00002150 2F0C move.l -[A7], A4
00002152 3F2E FFFE move.w -[A7], [A6 - 0x2]
00002156 3F2E FFFC move.w -[A7], [A6 - 0x4]
0000215A 4267 clr.w -[A7]
0000215C A91D syscall SizeWindow
0000215E 4EBA FAA6 jsr [PC - 0x55A /* 00001C06 */]
label00002162:
00002162 285F movea.l A4, [A7]+
00002164 4E5E unlink A6
00002166 4E75 rts
fn00002168:
00002168 4E56 FFFE link A6, -0x0002
0000216C 48E7 0018 movem.l -[A7], A3,A4
00002170 286E 0008 movea.l A4, [A6 + 0x8]
00002174 426E FFFE clr.w [A6 - 0x2]
00002178 206D F94A movea.l A0, [A5 - 0x6B6]
0000217C 2050 movea.l A0, [A0]
0000217E 4A68 0024 tst.w [A0 + 0x24]
00002182 660A bne +0xC /* 0000218E */
00002184 4267 clr.w -[A7]
00002186 4EBA F91C jsr [PC - 0x6E4 /* 00001AA4 */]
0000218A 548F addq.l A7, 2
0000218C 600E bra +0x10 /* 0000219C */
label0000218E:
0000218E 082C 0001 000E btst.b [A4 + 0xE], 0x1
00002194 6706 beq +0x8 /* 0000219C */
00002196 7001 moveq.l D0, 0x01
00002198 3D40 FFFE move.w [A6 - 0x2], D0
label0000219C:
0000219C 4EBA F99C jsr [PC - 0x664 /* 00001B3A */]
000021A0 486C 000A pea.l [A4 + 0xA]
000021A4 A871 syscall GlobalToLocal
000021A6 2F2C 000A move.l -[A7], [A4 + 0xA]
000021AA 1F2E FFFF move.b -[A7], [A6 - 0x1]
000021AE 2F2D F94A move.l -[A7], [A5 - 0x6B6]
000021B2 A9D4 syscall TEClick
000021B4 206D F94A movea.l A0, [A5 - 0x6B6]
000021B8 2650 movea.l A3, [A0]
000021BA 302B 0020 move.w D0, [A3 + 0x20]
000021BE B06B 0022 cmp.w D0, [A3 + 0x22]
000021C2 6600 005A bne +0x5C /* 0000221E */
000021C6 377C 00FF 0046 move.w [A3 + 0x46], 0xFF
000021CC 082D 0004 F962 btst.b [A5 - 0x69E], 0x4
000021D2 6708 beq +0xA /* 000021DC */
000021D4 082D 0007 F962 btst.b [A5 - 0x69E], 0x7
000021DA 6708 beq +0xA /* 000021E4 */
label000021DC:
000021DC 2F2D F94A move.l -[A7], [A5 - 0x6B6]
000021E0 A9D9 syscall TEDeactivate
000021E2 603A bra +0x3C /* 0000221E */
label000021E4:
000021E4 302B 0020 move.w D0, [A3 + 0x20]
000021E8 B06D F97E cmp.w D0, [A5 - 0x682]
000021EC 6C14 bge +0x16 /* 00002202 */
000021EE 306D F97E movea.w A0, [A5 - 0x682]
000021F2 2F08 move.l -[A7], A0
000021F4 306D F97E movea.w A0, [A5 - 0x682]
000021F8 2F08 move.l -[A7], A0
000021FA 2F2D F94A move.l -[A7], [A5 - 0x6B6]
000021FE A9D1 syscall TESetSelect
00002200 601C bra +0x1E /* 0000221E */
label00002202:
00002202 302B 0022 move.w D0, [A3 + 0x22]
00002206 B06D F980 cmp.w D0, [A5 - 0x680]
0000220A 6F12 ble +0x14 /* 0000221E */
0000220C 306D F980 movea.w A0, [A5 - 0x680]
00002210 2F08 move.l -[A7], A0
00002212 306D F980 movea.w A0, [A5 - 0x680]
00002216 2F08 move.l -[A7], A0
00002218 2F2D F94A move.l -[A7], [A5 - 0x6B6]
0000221C A9D1 syscall TESetSelect
label0000221E:
0000221E 4CDF 1800 movem.l A3,A4, [A7]+
00002222 4E5E unlink A6
00002224 4E75 rts
fn00002226:
00002226 4E56 0000 link A6, 0
0000222A 082D 0007 F962 btst.b [A5 - 0x69E], 0x7
00002230 670A beq +0xC /* 0000223C */
00002232 701F moveq.l D0, 0x1F
00002234 C06E 0008 and.w D0, [A6 + 0x8]
00002238 6000 0084 bra +0x86 /* 000022BE */
label0000223C:
0000223C 302E 0008 move.w D0, [A6 + 0x8]
00002240 4EAD 002A jsr [A5 + 0x2A /* export_1 */]
00002244 000F 003E ori.b A7, 0x3E /* '>' */
00002248 0078 003A 0058 ori.w [0x00000058], 0x3A /* ':' */
0000224E 003C 0063 ori.b ccr, 99
00002252 0038 0043 003A ori.b [0x0000003A], 0x43 /* 'C' */
00002258 0076 0036 0056 ori.w [A6 + D0.w + 0x56], 0x36 /* '6' */
0000225E 0038 002E 0040 ori.b [0x00000040], 0x2E /* '.' */
00002264 0064 003C ori.w -[A4], 0x3C /* '<' */
00002268 0044 003C ori.w D4, 0x3C /* '<' */
0000226C 0075 0038 0055 ori.w [A5 + D0.w + 0x55], 0x38 /* '8' */
00002272 0034 007A 0030 ori.b [A4 + D0.w + 0x30], 0x7A /* 'z' */
00002278 005A 0030 ori.w [A2]+, 0x30 /* '0' */
0000227C 0071 002C 0051 ori.w [A1 + D0.w + 0x51], 0x2C /* ',' */
00002282 003A 4EBA 024E ori.b [PC + 0x24E /* 000024D2, value 0x4E 'N' */], 0xBA
00002288 6032 bra +0x34 /* 000022BC */
0000228A 4EBA 0296 jsr [PC + 0x296 /* 00002522 */]
0000228E 602C bra +0x2E /* 000022BC */
00002290 4EBA 02D4 jsr [PC + 0x2D4 /* 00002566 */]
00002294 6026 bra +0x28 /* 000022BC */
00002296 4A2D F964 tst.b [A5 - 0x69C]
0000229A 6706 beq +0x8 /* 000022A2 */
0000229C 7001 moveq.l D0, 0x01
0000229E 1B40 F966 move.b [A5 - 0x69A], D0
label000022A2:
000022A2 7004 moveq.l D0, 0x04
000022A4 6018 bra +0x1A /* 000022BE */
000022A6 7015 moveq.l D0, 0x15
000022A8 6014 bra +0x16 /* 000022BE */
000022AA 4A2D F964 tst.b [A5 - 0x69C]
000022AE 670C beq +0xE /* 000022BC */
000022B0 426D F934 clr.w [A5 - 0x6CC]
000022B4 4267 clr.w -[A7]
000022B6 4EBA E0EA jsr [PC - 0x1F16 /* 000003A2 */]
000022BA 548F addq.l A7, 2
label000022BC:
000022BC 7000 moveq.l D0, 0x00
label000022BE:
000022BE 4E5E unlink A6
000022C0 4E75 rts
fn000022C2:
000022C2 4E56 0000 link A6, 0
000022C6 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
000022CA 3E2E 0008 move.w D7, [A6 + 0x8]
000022CE 206D F94A movea.l A0, [A5 - 0x6B6]
000022D2 2850 movea.l A4, [A0]
000022D4 3C2C 0020 move.w D6, [A4 + 0x20]
000022D8 3A2C 0022 move.w D5, [A4 + 0x22]
000022DC 082D 0004 F962 btst.b [A5 - 0x69E], 0x4
000022E2 6700 01E2 beq +0x1E4 /* 000024C6 */
000022E6 082D 0003 F962 btst.b [A5 - 0x69E], 0x3
000022EC 6708 beq +0xA /* 000022F6 */
000022EE 0C47 007F cmpi.w D7, 0x7F
000022F2 6200 01D2 bhi +0x1D4 /* 000024C6 */
label000022F6:
000022F6 082D 0007 F962 btst.b [A5 - 0x69E], 0x7
000022FC 6712 beq +0x14 /* 00002310 */
000022FE 206D F976 movea.l A0, [A5 - 0x68A]
00002302 52AD F976 addq.l [A5 - 0x68A], 1
00002306 1087 move.b [A0], D7
00002308 42AD F97A clr.l [A5 - 0x686]
0000230C 6000 01BE bra +0x1C0 /* 000024CC */
label00002310:
00002310 0C47 0020 cmpi.w D7, 0x20 /* ' ' */
00002314 6C00 00F2 bge +0xF4 /* 00002408 */
00002318 3007 move.w D0, D7
0000231A 4EAD 002A jsr [A5 + 0x2A /* export_1 */]
0000231E 000B 002E ori.b A3, 0x2E /* '.' */
00002322 0015 002A ori.b [A5], 0x2A /* '*' */
00002326 001B 0044 ori.b [A3]+, 0x44 /* 'D' */
0000232A 0008 006C ori.b A0, 0x6C /* 'l' */
0000232E 001C 0074 ori.b [A4]+, 0x74 /* 't' */
00002332 001D 007C ori.b [A5]+, 0x7C /* '|' */
00002336 001E 0080 ori.b [A6]+, 0x80
0000233A 001F 007C ori.b [A7]+, 0x7C /* '|' */
0000233E 0009 0080 ori.b A1, 0x80
00002342 0004 007C ori.b D4, 0x7C /* '|' */
00002346 000D 0078 ori.b A5, 0x78 /* 'x' */
0000234A 0003 0180 ori.b D3, 0x80
0000234E 202D F976 move.l D0, [A5 - 0x68A]
00002352 90AD F972 sub.l D0, [A5 - 0x68E]
00002356 D1AD F97A add.l [A5 - 0x686], D0
0000235A 2B6D F972 F976 move.l [A5 - 0x68A], [A5 - 0x68E]
00002360 3C2D F97E move.w D6, [A5 - 0x682]
00002364 3A2D F980 move.w D5, [A5 - 0x680]
00002368 6000 009E bra +0xA0 /* 00002408 */
0000236C 082D 0005 F962 btst.b [A5 - 0x69E], 0x5
00002372 6600 0094 bne +0x96 /* 00002408 */
00002376 082D 0006 F962 btst.b [A5 - 0x69E], 0x6
0000237C 6600 00F4 bne +0xF6 /* 00002472 */
00002380 202D F976 move.l D0, [A5 - 0x68A]
00002384 B0AD F972 cmp.l D0, [A5 - 0x68E]
00002388 6700 013C beq +0x13E /* 000024C6 */
0000238C 53AD F976 subq.l [A5 - 0x68A], 1
00002390 52AD F97A addq.l [A5 - 0x686], 1
00002394 6000 010A bra +0x10C /* 000024A0 */
00002398 BC45 cmp.w D6, D5
0000239A 6600 0104 bne +0x106 /* 000024A0 */
0000239E 5346 subq.w D6, 1
000023A0 6000 00FE bra +0x100 /* 000024A0 */
000023A4 BC45 cmp.w D6, D5
000023A6 6602 bne +0x4 /* 000023AA */
000023A8 5245 addq.w D5, 1
label000023AA:
000023AA 3C05 move.w D6, D5
000023AC 6000 00F2 bra +0xF4 /* 000024A0 */
000023B0 3C2D F97E move.w D6, [A5 - 0x682]
000023B4 6000 00EA bra +0xEC /* 000024A0 */
000023B8 3C2D F980 move.w D6, [A5 - 0x680]
000023BC 6000 00E2 bra +0xE4 /* 000024A0 */
000023C0 302D F980 move.w D0, [A5 - 0x680]
000023C4 906D F97E sub.w D0, [A5 - 0x682]
000023C8 3800 move.w D4, D0
000023CA 4A40 tst.w D0
000023CC 671C beq +0x1E /* 000023EA */
000023CE 206C 003E movea.l A0, [A4 + 0x3E]
000023D2 326D F97E movea.w A1, [A5 - 0x682]
000023D6 D3D0 add.l A1, [A0]
000023D8 2649 movea.l A3, A1
000023DA 206D F976 movea.l A0, [A5 - 0x68A]
000023DE 6002 bra +0x4 /* 000023E2 */
label000023E0:
000023E0 10DB move.b [A0]+, [A3]+
label000023E2:
000023E2 51CC FFFC dbf D4, -0x6 /* 000023E0 */
000023E6 2B48 F976 move.l [A5 - 0x68A], A0
label000023EA:
000023EA 0C47 0004 cmpi.w D7, 0x4
000023EE 670C beq +0xE /* 000023FC */
000023F0 206D F976 movea.l A0, [A5 - 0x68A]
000023F4 52AD F976 addq.l [A5 - 0x68A], 1
000023F8 700A moveq.l D0, 0x0A
000023FA 1080 move.b [A0], D0
label000023FC:
000023FC 4EBA F974 jsr [PC - 0x68C /* 00001D72 */]
00002400 42AD F97A clr.l [A5 - 0x686]
00002404 6000 00C6 bra +0xC8 /* 000024CC */
label00002408:
00002408 082D 0005 F962 btst.b [A5 - 0x69E], 0x5
0000240E 6726 beq +0x28 /* 00002436 */
00002410 BC45 cmp.w D6, D5
00002412 6608 bne +0xA /* 0000241C */
00002414 0C47 0008 cmpi.w D7, 0x8
00002418 661C bne +0x1E /* 00002436 */
0000241A 5346 subq.w D6, 1
label0000241C:
0000241C BC6D F97E cmp.w D6, [A5 - 0x682]
00002420 6D00 00A4 blt +0xA6 /* 000024C6 */
00002424 BA6D F980 cmp.w D5, [A5 - 0x680]
00002428 6E00 009C bgt +0x9E /* 000024C6 */
0000242C 3F05 move.w -[A7], D5
0000242E 3F06 move.w -[A7], D6
00002430 4EBA F502 jsr [PC - 0xAFE /* 00001934 */]
00002434 588F addq.l A7, 4
label00002436:
00002436 0C47 0020 cmpi.w D7, 0x20 /* ' ' */
0000243A 6D00 0064 blt +0x66 /* 000024A0 */
0000243E 302D F980 move.w D0, [A5 - 0x680]
00002442 906D F97E sub.w D0, [A5 - 0x682]
00002446 222D F97A move.l D1, [A5 - 0x686]
0000244A 5381 subq.l D1, 1
0000244C 48C0 ext.l D0
0000244E B081 cmp.l D0, D1
00002450 6608 bne +0xA /* 0000245A */
00002452 3F3C 0002 move.w -[A7], 0x2
00002456 A9C8 syscall SysBeep
00002458 6046 bra +0x48 /* 000024A0 */
label0000245A:
0000245A 082D 0005 F962 btst.b [A5 - 0x69E], 0x5
00002460 6710 beq +0x12 /* 00002472 */
00002462 3006 move.w D0, D6
00002464 5246 addq.w D6, 1
00002466 3F00 move.w -[A7], D0
00002468 3F07 move.w -[A7], D7
0000246A 4EBA F558 jsr [PC - 0xAA8 /* 000019C4 */]
0000246E 588F addq.l A7, 4
00002470 602E bra +0x30 /* 000024A0 */
label00002472:
00002472 206D F976 movea.l A0, [A5 - 0x68A]
00002476 52AD F976 addq.l [A5 - 0x68A], 1
0000247A 1087 move.b [A0], D7
0000247C 082D 0006 F962 btst.b [A5 - 0x69E], 0x6
00002482 6718 beq +0x1A /* 0000249C */
00002484 3F3C 0001 move.w -[A7], 0x1
00002488 206D F976 movea.l A0, [A5 - 0x68A]
0000248C 4868 FFFF pea.l [A0 - 0x1]
00002490 4EBA F2C8 jsr [PC - 0xD38 /* 0000175A */]
00002494 5C8F addq.l A7, 6
00002496 42AD F97A clr.l [A5 - 0x686]
0000249A 6030 bra +0x32 /* 000024CC */
label0000249C:
0000249C 53AD F97A subq.l [A5 - 0x686], 1
label000024A0:
000024A0 BC6D F980 cmp.w D6, [A5 - 0x680]
000024A4 6F06 ble +0x8 /* 000024AC */
000024A6 3C2D F980 move.w D6, [A5 - 0x680]
000024AA 600A bra +0xC /* 000024B6 */
label000024AC:
000024AC BC6D F97E cmp.w D6, [A5 - 0x682]
000024B0 6C04 bge +0x6 /* 000024B6 */
000024B2 3C2D F97E move.w D6, [A5 - 0x682]
label000024B6:
000024B6 3006 move.w D0, D6
000024B8 906D F97E sub.w D0, [A5 - 0x682]
000024BC 3F00 move.w -[A7], D0
000024BE 4EBA F5E4 jsr [PC - 0xA1C /* 00001AA4 */]
000024C2 548F addq.l A7, 2
000024C4 6006 bra +0x8 /* 000024CC */
label000024C6:
000024C6 3F3C 0002 move.w -[A7], 0x2
000024CA A9C8 syscall SysBeep
label000024CC:
000024CC 4CDF 18F0 movem.l D4,D5,D6,D7,A3,A4, [A7]+
000024D0 4E5E unlink A6
000024D2 4E75 rts
000024D4 2F0C move.l -[A7], A4
000024D6 206D F94A movea.l A0, [A5 - 0x6B6]
000024DA 2850 movea.l A4, [A0]
000024DC 4A6C 0024 tst.w [A4 + 0x24]
000024E0 673C beq +0x3E /* 0000251E */
000024E2 302C 0020 move.w D0, [A4 + 0x20]
000024E6 B06C 0022 cmp.w D0, [A4 + 0x22]
000024EA 6C32 bge +0x34 /* 0000251E */
000024EC 082D 0004 F962 btst.b [A5 - 0x69E], 0x4
000024F2 6714 beq +0x16 /* 00002508 */
000024F4 302C 0020 move.w D0, [A4 + 0x20]
000024F8 B06D F97E cmp.w D0, [A5 - 0x682]
000024FC 6D0A blt +0xC /* 00002508 */
000024FE 302C 0022 move.w D0, [A4 + 0x22]
00002502 B06D F980 cmp.w D0, [A5 - 0x680]
00002506 6F08 ble +0xA /* 00002510 */
label00002508:
00002508 3F3C 0002 move.w -[A7], 0x2
0000250C A9C8 syscall SysBeep
0000250E 600E bra +0x10 /* 0000251E */
label00002510:
00002510 4EBA 0010 jsr [PC + 0x10 /* 00002522 */]
00002514 3F3C 0008 move.w -[A7], 0x8
00002518 4EBA FDA8 jsr [PC - 0x258 /* 000022C2 */]
0000251C 548F addq.l A7, 2
label0000251E:
0000251E 285F movea.l A4, [A7]+
00002520 4E75 rts
fn00002522:
00002522 2F0C move.l -[A7], A4
00002524 206D F94A movea.l A0, [A5 - 0x6B6]
00002528 2850 movea.l A4, [A0]
0000252A 4A6C 0024 tst.w [A4 + 0x24]
0000252E 6732 beq +0x34 /* 00002562 */
00002530 302C 0020 move.w D0, [A4 + 0x20]
00002534 B06C 0022 cmp.w D0, [A4 + 0x22]
00002538 6C28 bge +0x2A /* 00002562 */
0000253A 2F2D F94A move.l -[A7], [A5 - 0x6B6]
0000253E A9D5 syscall TECopy
00002540 42A7 clr.l -[A7]
00002542 A9FC syscall ZeroScrap
00002544 201F move.l D0, [A7]+
00002546 4EBA F7FA jsr [PC - 0x806 /* 00001D42 */]
0000254A 42A7 clr.l -[A7]
0000254C 3078 0AB0 movea.w A0, [0x00000AB0 /* TEScrpLength */]
00002550 2F08 move.l -[A7], A0
00002552 4879 5445 5854 push.l 0x54455854 /* 'TEXT' */
00002558 2F00 move.l -[A7], D0
0000255A A9FE syscall PutScrap
0000255C 201F move.l D0, [A7]+
0000255E 4EBA F80A jsr [PC - 0x7F6 /* 00001D6A */]
label00002562:
00002562 285F movea.l A4, [A7]+
00002564 4E75 rts
fn00002566:
00002566 082D 0004 F962 btst.b [A5 - 0x69E], 0x4
0000256C 6720 beq +0x22 /* 0000258E */
0000256E 206D F94A movea.l A0, [A5 - 0x6B6]
00002572 2050 movea.l A0, [A0]
00002574 3028 0020 move.w D0, [A0 + 0x20]
00002578 B06D F97E cmp.w D0, [A5 - 0x682]
0000257C 6D10 blt +0x12 /* 0000258E */
0000257E 206D F94A movea.l A0, [A5 - 0x6B6]
00002582 2050 movea.l A0, [A0]
00002584 3028 0022 move.w D0, [A0 + 0x22]
00002588 B06D F980 cmp.w D0, [A5 - 0x680]
0000258C 6F08 ble +0xA /* 00002596 */
label0000258E:
0000258E 3F3C 0002 move.w -[A7], 0x2
00002592 A9C8 syscall SysBeep
00002594 6038 bra +0x3A /* 000025CE */
label00002596:
00002596 42A7 clr.l -[A7]
00002598 2F38 0AB4 move.l -[A7], [0x00000AB4 /* TEScrpHandle */]
0000259C 4879 5445 5854 push.l 0x54455854 /* 'TEXT' */
000025A2 486D F956 pea.l [A5 - 0x6AA]
000025A6 A9FD syscall GetScrap
000025A8 201F move.l D0, [A7]+
000025AA 2B40 F95A move.l [A5 - 0x6A6], D0
000025AE 4A80 tst.l D0
000025B0 6F18 ble +0x1A /* 000025CA */
000025B2 2B78 0AB4 F952 move.l [A5 - 0x6AE], [0x00000AB4 /* TEScrpHandle */]
000025B8 42A7 clr.l -[A7]
000025BA 42A7 clr.l -[A7]
000025BC 4EBA 022C jsr [PC + 0x22C /* 000027EA */]
000025C0 205F movea.l A0, [A7]+
000025C2 21C8 0AB4 move.l [0x00000AB4 /* TEScrpHandle */], A0
000025C6 42AD F956 clr.l [A5 - 0x6AA]
label000025CA:
000025CA 4278 0AB0 clr.w [0x00000AB0 /* TEScrpLength */]
label000025CE:
000025CE 4E75 rts
fn000025D0:
000025D0 303C A89F move.w D0, 0xA89F
000025D4 A146 syscall GetTrapAddress, flags=1
000025D6 2248 movea.l A1, A0
000025D8 303C A8FD move.w D0, 0xA8FD
000025DC A146 syscall GetTrapAddress, flags=1
000025DE B3C8 cmpa.l A1, A0
000025E0 660A bne +0xC /* 000025EC */
000025E2 206D F95E movea.l A0, [A5 - 0x6A2]
000025E6 0890 0000 bclr.b [A0], 0x0
000025EA 602A bra +0x2C /* 00002616 */
label000025EC:
000025EC 4A2D F965 tst.b [A5 - 0x69B]
000025F0 6624 bne +0x26 /* 00002616 */
000025F2 2F3C C800 0000 move.l -[A7], 0xC8000000
000025F8 A8FD syscall PrGlue
000025FA 4267 clr.w -[A7]
000025FC 2F3C BA00 0000 move.l -[A7], 0xBA000000
00002602 A8FD syscall PrGlue
00002604 301F move.w D0, [A7]+
00002606 4A40 tst.w D0
00002608 660C bne +0xE /* 00002616 */
0000260A 4EBA 000C jsr [PC + 0xC /* 00002618 */]
0000260E 2F3C D000 0000 move.l -[A7], 0xD0000000
00002614 A8FD syscall PrGlue
label00002616:
00002616 4E75 rts
fn00002618:
00002618 4E56 FDC8 link A6, -0x0238
0000261C 2F0C move.l -[A7], A4
0000261E 42A7 clr.l -[A7]
00002620 4878 0078 push.l 0x78 /* 'x' */
00002624 4EBA 01C4 jsr [PC + 0x1C4 /* 000027EA */]
00002628 205F movea.l A0, [A7]+
0000262A 2D48 FFFC move.l [A6 - 0x4], A0
0000262E 2F2E FFFC move.l -[A7], [A6 - 0x4]
00002632 2F3C 2004 0480 move.l -[A7], 0x20040480
00002638 A8FD syscall PrGlue
0000263A 4AAD F9C0 tst.l [A5 - 0x640]
0000263E 671A beq +0x1C /* 0000265A */
00002640 2F2D F9C0 move.l -[A7], [A5 - 0x640]
00002644 2F2E FFFC move.l -[A7], [A6 - 0x4]
00002648 2F3C 5804 089C move.l -[A7], 0x5804089C
0000264E A8FD syscall PrGlue
00002650 2F2D F9C0 move.l -[A7], [A5 - 0x640]
00002654 4EBA 01AC jsr [PC + 0x1AC /* 00002802 */]
00002658 6020 bra +0x22 /* 0000267A */
label0000265A:
0000265A A850 syscall InitCursor
0000265C 4267 clr.w -[A7]
0000265E 2F2E FFFC move.l -[A7], [A6 - 0x4]
00002662 2F3C 3204 0488 move.l -[A7], 0x32040488
00002668 A8FD syscall PrGlue
0000266A 101F move.b D0, [A7]+
0000266C 4A00 tst.b D0
0000266E 660A bne +0xC /* 0000267A */
00002670 7001 moveq.l D0, 0x01
00002672 1B40 F965 move.b [A5 - 0x69B], D0
00002676 6000 016C bra +0x16E /* 000027E4 */
label0000267A:
0000267A 2B6E FFFC F9C0 move.l [A5 - 0x640], [A6 - 0x4]
00002680 486E FFF8 pea.l [A6 - 0x8]
00002684 A874 syscall GetPort
00002686 42A7 clr.l -[A7]
00002688 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000268C 42A7 clr.l -[A7]
0000268E 42A7 clr.l -[A7]
00002690 2F3C 0400 0C00 move.l -[A7], 0x4000C00
00002696 A8FD syscall PrGlue
00002698 205F movea.l A0, [A7]+
0000269A 2D48 FFF4 move.l [A6 - 0xC], A0
0000269E 206D F94A movea.l A0, [A5 - 0x6B6]
000026A2 2850 movea.l A4, [A0]
000026A4 3F2C 004A move.w -[A7], [A4 + 0x4A]
000026A8 A887 syscall TextFont
000026AA 3F2C 0050 move.w -[A7], [A4 + 0x50]
000026AE A88A syscall TextSize
000026B0 102C 004C move.b D0, [A4 + 0x4C]
000026B4 4880 ext.w D0
000026B6 3F00 move.w -[A7], D0
000026B8 A888 syscall TextFace
000026BA 3D6C 001A FFF2 move.w [A6 - 0xE], [A4 + 0x1A]
000026C0 206E FFFC movea.l A0, [A6 - 0x4]
000026C4 2050 movea.l A0, [A0]
000026C6 43EE FFE6 lea.l A1, [A6 - 0x1A]
000026CA 5088 addq.l A0, 8
000026CC 22D8 move.l [A1]+, [A0]+
000026CE 22D8 move.l [A1]+, [A0]+
000026D0 302E FFEA move.w D0, [A6 - 0x16]
000026D4 906E FFE6 sub.w D0, [A6 - 0x1A]
000026D8 48C0 ext.l D0
000026DA 81ED F93C divs.w D0, [A5 - 0x6C4]
000026DE 3D40 FFF0 move.w [A6 - 0x10], D0
000026E2 302E FFE8 move.w D0, [A6 - 0x18]
000026E6 0640 0024 addi.w D0, 0x24 /* '$' */
000026EA 3D40 FFE4 move.w [A6 - 0x1C], D0
000026EE 2F2D F95E move.l -[A7], [A5 - 0x6A2]
000026F2 4EBA 09BE jsr [PC + 0x9BE /* 000030B2 */]
000026F6 588F addq.l A7, 4
000026F8 206D F95E movea.l A0, [A5 - 0x6A2]
000026FC 0890 0006 bclr.b [A0], 0x6
label00002700:
00002700 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00002704 42A7 clr.l -[A7]
00002706 2F3C 1000 0808 move.l -[A7], 0x10000808
0000270C A8FD syscall PrGlue
0000270E 302E FFE6 move.w D0, [A6 - 0x1A]
00002712 D06E FFF2 add.w D0, [A6 - 0xE]
00002716 3D40 FFE2 move.w [A6 - 0x1E], D0
0000271A 426E FFEE clr.w [A6 - 0x12]
0000271E 602C bra +0x2E /* 0000274C */
label00002720:
00002720 3F2E FFE4 move.w -[A7], [A6 - 0x1C]
00002724 3F2E FFE2 move.w -[A7], [A6 - 0x1E]
00002728 A893 syscall MoveTo
0000272A 486E FDE2 pea.l [A6 - 0x21E]
0000272E 4EBA 2BB0 jsr [PC + 0x2BB0 /* 000052E0 */]
00002732 588F addq.l A7, 4
00002734 486E FDE2 pea.l [A6 - 0x21E]
00002738 4267 clr.w -[A7]
0000273A 5380 subq.l D0, 1
0000273C 3F00 move.w -[A7], D0
0000273E A885 syscall DrawText
00002740 302D F93C move.w D0, [A5 - 0x6C4]
00002744 D16E FFE2 add.w [A6 - 0x1E], D0
00002748 526E FFEE addq.w [A6 - 0x12], 1
label0000274C:
0000274C 302E FFEE move.w D0, [A6 - 0x12]
00002750 B06E FFF0 cmp.w D0, [A6 - 0x10]
00002754 6C18 bge +0x1A /* 0000276E */
00002756 2F2D F95E move.l -[A7], [A5 - 0x6A2]
0000275A 3F3C 0200 move.w -[A7], 0x200
0000275E 486E FDE2 pea.l [A6 - 0x21E]
00002762 4EBA 0B40 jsr [PC + 0xB40 /* 000032A4 */]
00002766 4FEF 000A lea.l A7, [A7 + 0xA]
0000276A 4A80 tst.l D0
0000276C 66B2 bne -0x4C /* 00002720 */
label0000276E:
0000276E 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00002772 2F3C 1800 040C move.l -[A7], 0x1800040C
00002778 A8FD syscall PrGlue
0000277A 4267 clr.w -[A7]
0000277C 2F3C BA00 0000 move.l -[A7], 0xBA000000
00002782 A8FD syscall PrGlue
00002784 301F move.w D0, [A7]+
00002786 4A40 tst.w D0
00002788 6614 bne +0x16 /* 0000279E */
0000278A 206D F95E movea.l A0, [A5 - 0x6A2]
0000278E 7000 moveq.l D0, 0x00
00002790 0810 0005 btst.b [A0], 0x5
00002794 56C0 sne D0
00002796 4400 neg.b D0
00002798 4A40 tst.w D0
0000279A 6700 FF64 beq -0x9A /* 00002700 */
label0000279E:
0000279E 2F2E FFF4 move.l -[A7], [A6 - 0xC]
000027A2 2F3C 0800 0484 move.l -[A7], 0x8000484
000027A8 A8FD syscall PrGlue
000027AA 2F2E FFF8 move.l -[A7], [A6 - 0x8]
000027AE A873 syscall SetPort
000027B0 206E FFFC movea.l A0, [A6 - 0x4]
000027B4 2050 movea.l A0, [A0]
000027B6 0C28 0001 0044 cmpi.b [A0 + 0x44], 0x1
000027BC 6626 bne +0x28 /* 000027E4 */
000027BE 4267 clr.w -[A7]
000027C0 2F3C BA00 0000 move.l -[A7], 0xBA000000
000027C6 A8FD syscall PrGlue
000027C8 301F move.w D0, [A7]+
000027CA 4A40 tst.w D0
000027CC 6616 bne +0x18 /* 000027E4 */
000027CE 2F2E FFFC move.l -[A7], [A6 - 0x4]
000027D2 42A7 clr.l -[A7]
000027D4 42A7 clr.l -[A7]
000027D6 42A7 clr.l -[A7]
000027D8 486E FDC8 pea.l [A6 - 0x238]
000027DC 2F3C 6005 1480 move.l -[A7], 0x60051480
000027E2 A8FD syscall PrGlue
label000027E4:
000027E4 285F movea.l A4, [A7]+
000027E6 4E5E unlink A6
000027E8 4E75 rts
fn000027EA:
000027EA 4E56 0000 link A6, 0
000027EE 202E 0008 move.l D0, [A6 + 0x8]
000027F2 A122 syscall NewHandle, flags=1
000027F4 2008 move.l D0, A0
000027F6 4E5E unlink A6
000027F8 205F movea.l A0, [A7]+
000027FA 4FEF 0004 lea.l A7, [A7 + 0x4]
000027FE 2E80 move.l [A7], D0
00002800 4ED0 jmp [A0]
fn00002802:
00002802 4E56 0000 link A6, 0
00002806 206E 0008 movea.l A0, [A6 + 0x8]
0000280A A023 syscall DisposHandle/DisposeHandle
0000280C 4E5E unlink A6
0000280E 205F movea.l A0, [A7]+
00002810 4FEF 0004 lea.l A7, [A7 + 0x4]
00002814 4ED0 jmp [A0]
00002816 4E56 0000 link A6, 0
0000281A 7000 moveq.l D0, 0x00
0000281C 102E 0009 move.b D0, [A6 + 0x9]
00002820 41ED FA32 lea.l A0, [A5 - 0x5CE]
00002824 D0C0 add.w A0, D0
00002826 1010 move.b D0, [A0]
00002828 4880 ext.w D0
0000282A 0240 00D0 andi.w D0, 0xD0
0000282E 4E5E unlink A6
00002830 4E75 rts
00002832 4E56 0000 link A6, 0
00002836 7000 moveq.l D0, 0x00
00002838 102E 0009 move.b D0, [A6 + 0x9]
0000283C 41ED FA32 lea.l A0, [A5 - 0x5CE]
00002840 D0C0 add.w A0, D0
00002842 1010 move.b D0, [A0]
00002844 4880 ext.w D0
00002846 0240 00C0 andi.w D0, 0xC0
0000284A 4E5E unlink A6
0000284C 4E75 rts
0000284E 4E56 0000 link A6, 0
00002852 7000 moveq.l D0, 0x00
00002854 102E 0009 move.b D0, [A6 + 0x9]
00002858 41ED FA32 lea.l A0, [A5 - 0x5CE]
0000285C D0C0 add.w A0, D0
0000285E 1010 move.b D0, [A0]
00002860 4880 ext.w D0
00002862 0240 0003 andi.w D0, 0x3
00002866 4E5E unlink A6
00002868 4E75 rts
0000286A 4E56 0000 link A6, 0
0000286E 7000 moveq.l D0, 0x00
00002870 102E 0009 move.b D0, [A6 + 0x9]
00002874 41ED FA32 lea.l A0, [A5 - 0x5CE]
00002878 D0C0 add.w A0, D0
0000287A 1010 move.b D0, [A0]
0000287C 4880 ext.w D0
0000287E 0240 0010 andi.w D0, 0x10
00002882 4E5E unlink A6
00002884 4E75 rts
00002886 4E56 0000 link A6, 0
0000288A 7000 moveq.l D0, 0x00
0000288C 102E 0009 move.b D0, [A6 + 0x9]
00002890 41ED FA32 lea.l A0, [A5 - 0x5CE]
00002894 D0C0 add.w A0, D0
00002896 1010 move.b D0, [A0]
00002898 4880 ext.w D0
0000289A 0240 00D8 andi.w D0, 0xD8
0000289E 4E5E unlink A6
000028A0 4E75 rts
000028A2 4E56 0000 link A6, 0
000028A6 7000 moveq.l D0, 0x00
000028A8 102E 0009 move.b D0, [A6 + 0x9]
000028AC 41ED FA32 lea.l A0, [A5 - 0x5CE]
000028B0 D0C0 add.w A0, D0
000028B2 1010 move.b D0, [A0]
000028B4 4880 ext.w D0
000028B6 0240 0080 andi.w D0, 0x80
000028BA 4E5E unlink A6
000028BC 4E75 rts
000028BE 4E56 0000 link A6, 0
000028C2 7000 moveq.l D0, 0x00
000028C4 102E 0009 move.b D0, [A6 + 0x9]
000028C8 41ED FA32 lea.l A0, [A5 - 0x5CE]
000028CC D0C0 add.w A0, D0
000028CE 1010 move.b D0, [A0]
000028D0 4880 ext.w D0
000028D2 0240 00DC andi.w D0, 0xDC
000028D6 4E5E unlink A6
000028D8 4E75 rts
000028DA 4E56 0000 link A6, 0
000028DE 7000 moveq.l D0, 0x00
000028E0 102E 0009 move.b D0, [A6 + 0x9]
000028E4 41ED FA32 lea.l A0, [A5 - 0x5CE]
000028E8 D0C0 add.w A0, D0
000028EA 1010 move.b D0, [A0]
000028EC 4880 ext.w D0
000028EE 0240 0008 andi.w D0, 0x8
000028F2 4E5E unlink A6
000028F4 4E75 rts
000028F6 4E56 0000 link A6, 0
000028FA 7000 moveq.l D0, 0x00
000028FC 102E 0009 move.b D0, [A6 + 0x9]
00002900 41ED FA32 lea.l A0, [A5 - 0x5CE]
00002904 D0C0 add.w A0, D0
00002906 1010 move.b D0, [A0]
00002908 4880 ext.w D0
0000290A 0240 0006 andi.w D0, 0x6
0000290E 4E5E unlink A6
00002910 4E75 rts
00002912 4E56 0000 link A6, 0
00002916 7000 moveq.l D0, 0x00
00002918 102E 0009 move.b D0, [A6 + 0x9]
0000291C 41ED FA32 lea.l A0, [A5 - 0x5CE]
00002920 D0C0 add.w A0, D0
00002922 1010 move.b D0, [A0]
00002924 4880 ext.w D0
00002926 0240 0040 andi.w D0, 0x40 /* '@' */
0000292A 4E5E unlink A6
0000292C 4E75 rts
0000292E 4E56 0000 link A6, 0
00002932 7000 moveq.l D0, 0x00
00002934 102E 0009 move.b D0, [A6 + 0x9]
00002938 41ED FA32 lea.l A0, [A5 - 0x5CE]
0000293C D0C0 add.w A0, D0
0000293E 1010 move.b D0, [A0]
00002940 4880 ext.w D0
00002942 0240 0030 andi.w D0, 0x30 /* '0' */
00002946 4E5E unlink A6
00002948 4E75 rts
0000294A 4E56 0000 link A6, 0
0000294E 7000 moveq.l D0, 0x00
00002950 102E 0009 move.b D0, [A6 + 0x9]
00002954 41ED FA32 lea.l A0, [A5 - 0x5CE]
00002958 D0C0 add.w A0, D0
0000295A 1010 move.b D0, [A0]
0000295C 4880 ext.w D0
0000295E 0800 0007 btst.b D0, 0x7
00002962 6710 beq +0x12 /* 00002974 */
00002964 302E 0008 move.w D0, [A6 + 0x8]
00002968 0A40 0020 xori.w D0, 0x20 /* ' ' */
0000296C 4840 swap.w D0
0000296E 4240 clr.w D0
00002970 4840 swap.w D0
00002972 6004 bra +0x6 /* 00002978 */
label00002974:
00002974 302E 0008 move.w D0, [A6 + 0x8]
label00002978:
00002978 4E5E unlink A6
0000297A 4E75 rts
export_28:
0000297C 4E56 0000 link A6, 0
00002980 7000 moveq.l D0, 0x00
00002982 102E 0009 move.b D0, [A6 + 0x9]
00002986 41ED FA32 lea.l A0, [A5 - 0x5CE]
0000298A D0C0 add.w A0, D0
0000298C 1010 move.b D0, [A0]
0000298E 4880 ext.w D0
00002990 0800 0006 btst.b D0, 0x6
00002994 6710 beq +0x12 /* 000029A6 */
00002996 302E 0008 move.w D0, [A6 + 0x8]
0000299A 0A40 0020 xori.w D0, 0x20 /* ' ' */
0000299E 4840 swap.w D0
000029A0 4240 clr.w D0
000029A2 4840 swap.w D0
000029A4 6004 bra +0x6 /* 000029AA */
label000029A6:
000029A6 302E 0008 move.w D0, [A6 + 0x8]
label000029AA:
000029AA 4E5E unlink A6
000029AC 4E75 rts
000029AE 4E56 FECE link A6, -0x0132
000029B2 486E FECE pea.l [A6 - 0x132]
000029B6 2F2E 0008 move.l -[A7], [A6 + 0x8]
000029BA 4EBA 2658 jsr [PC + 0x2658 /* 00005014 */]
000029BE 508F addq.l A7, 8
000029C0 2D40 FFE0 move.l [A6 - 0x20], D0
000029C4 426E FFE4 clr.w [A6 - 0x1C]
000029C8 422E FFE8 clr.b [A6 - 0x18]
000029CC 41EE FFCE lea.l A0, [A6 - 0x32]
000029D0 A009 syscall Delete/PBHDelete/HDelete
000029D2 4A6E FFDE tst.w [A6 - 0x22]
000029D6 670A beq +0xC /* 000029E2 */
000029D8 3B6E FFDE FB32 move.w [A5 - 0x4CE], [A6 - 0x22]
000029DE 70FF moveq.l D0, 0xFFFFFFFF
000029E0 6002 bra +0x4 /* 000029E4 */
label000029E2:
000029E2 7000 moveq.l D0, 0x00
label000029E4:
000029E4 4E5E unlink A6
000029E6 4E75 rts
000029E8 4E56 FDCE link A6, -0x0232
000029EC 486E FECE pea.l [A6 - 0x132]
000029F0 2F2E 0008 move.l -[A7], [A6 + 0x8]
000029F4 4EBA 261E jsr [PC + 0x261E /* 00005014 */]
000029F8 508F addq.l A7, 8
000029FA 2D40 FFE0 move.l [A6 - 0x20], D0
000029FE 426E FFE4 clr.w [A6 - 0x1C]
00002A02 422E FFE8 clr.b [A6 - 0x18]
00002A06 486E FDCE pea.l [A6 - 0x232]
00002A0A 2F2E 000C move.l -[A7], [A6 + 0xC]
00002A0E 4EBA 2604 jsr [PC + 0x2604 /* 00005014 */]
00002A12 508F addq.l A7, 8
00002A14 2D40 FFEA move.l [A6 - 0x16], D0
00002A18 41EE FFCE lea.l A0, [A6 - 0x32]
00002A1C A00B syscall Rename/PBHRename/HRename
00002A1E 4A6E FFDE tst.w [A6 - 0x22]
00002A22 670A beq +0xC /* 00002A2E */
00002A24 3B6E FFDE FB32 move.w [A5 - 0x4CE], [A6 - 0x22]
00002A2A 70FF moveq.l D0, 0xFFFFFFFF
00002A2C 6002 bra +0x4 /* 00002A30 */
label00002A2E:
00002A2E 7000 moveq.l D0, 0x00
label00002A30:
00002A30 4E5E unlink A6
00002A32 4E75 rts
fn00002A34:
00002A34 4E56 FFEC link A6, -0x0014
00002A38 2F0C move.l -[A7], A4
00002A3A 486D FB34 pea.l [A5 - 0x4CC]
00002A3E 486D FB4C pea.l [A5 - 0x4B4]
00002A42 486E FFEC pea.l [A6 - 0x14]
00002A46 4EBA 0058 jsr [PC + 0x58 /* 00002AA0 */]
00002A4A 4FEF 000C lea.l A7, [A7 + 0xC]
00002A4E 4A80 tst.l D0
00002A50 671C beq +0x1E /* 00002A6E */
00002A52 486D FB54 pea.l [A5 - 0x4AC]
00002A56 486E FFEC pea.l [A6 - 0x14]
00002A5A 4EBA 00D0 jsr [PC + 0xD0 /* 00002B2C */]
00002A5E 508F addq.l A7, 8
00002A60 2840 movea.l A4, D0
00002A62 4A80 tst.l D0
00002A64 6708 beq +0xA /* 00002A6E */
00002A66 08D4 0000 bset.b [A4], 0x0
00002A6A 200C move.l D0, A4
00002A6C 6002 bra +0x4 /* 00002A70 */
label00002A6E:
00002A6E 7000 moveq.l D0, 0x00
label00002A70:
00002A70 285F movea.l A4, [A7]+
00002A72 4E5E unlink A6
00002A74 4E75 rts
00002A76 4E56 0000 link A6, 0
00002A7A 4AAE 0008 tst.l [A6 + 0x8]
00002A7E 6608 bne +0xA /* 00002A88 */
00002A80 41ED FB36 lea.l A0, [A5 - 0x4CA]
00002A84 2D48 0008 move.l [A6 + 0x8], A0
label00002A88:
00002A88 486D FB4A pea.l [A5 - 0x4B6]
00002A8C 486D FB58 pea.l [A5 - 0x4A8]
00002A90 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002A94 4EBA 000A jsr [PC + 0xA /* 00002AA0 */]
00002A98 4FEF 000C lea.l A7, [A7 + 0xC]
00002A9C 4E5E unlink A6
00002A9E 4E75 rts
fn00002AA0:
00002AA0 4E56 FFAE link A6, -0x0052
00002AA4 2F0C move.l -[A7], A4
00002AA6 286E 0010 movea.l A4, [A6 + 0x10]
00002AAA 3D54 FFFE move.w [A6 - 0x2], [A4]
00002AAE 2F2E 000C move.l -[A7], [A6 + 0xC]
00002AB2 4EBA 282C jsr [PC + 0x282C /* 000052E0 */]
00002AB6 588F addq.l A7, 4
00002AB8 5880 addq.l D0, 4
00002ABA 206E 0008 movea.l A0, [A6 + 0x8]
00002ABE 1080 move.b [A0], D0
00002AC0 2D6E 0008 FFC0 move.l [A6 - 0x40], [A6 + 0x8]
00002AC6 426E FFC4 clr.w [A6 - 0x3C]
00002ACA 422E FFC8 clr.b [A6 - 0x38]
00002ACE 426E FFCA clr.w [A6 - 0x36]
label00002AD2:
00002AD2 5254 addq.w [A4], 1
00002AD4 0C54 270F cmpi.w [A4], 0x270F
00002AD8 6F04 ble +0x6 /* 00002ADE */
00002ADA 7001 moveq.l D0, 0x01
00002ADC 3880 move.w [A4], D0
label00002ADE:
00002ADE 3F14 move.w -[A7], [A4]
00002AE0 2F2E 000C move.l -[A7], [A6 + 0xC]
00002AE4 486D FB5E pea.l [A5 - 0x4A2]
00002AE8 206E 0008 movea.l A0, [A6 + 0x8]
00002AEC 4868 0001 pea.l [A0 + 0x1]
00002AF0 4EBA 25DE jsr [PC + 0x25DE /* 000050D0 */]
00002AF4 4FEF 000E lea.l A7, [A7 + 0xE]
00002AF8 41EE FFAE lea.l A0, [A6 - 0x52]
00002AFC A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
00002AFE 0C6E FFD5 FFBE cmpi.w [A6 - 0x42], 0xFFD5
00002B04 670C beq +0xE /* 00002B12 */
00002B06 3014 move.w D0, [A4]
00002B08 B06E FFFE cmp.w D0, [A6 - 0x2]
00002B0C 66C4 bne -0x3A /* 00002AD2 */
00002B0E 7000 moveq.l D0, 0x00
00002B10 6014 bra +0x16 /* 00002B26 */
label00002B12:
00002B12 206E 0008 movea.l A0, [A6 + 0x8]
00002B16 2248 movea.l A1, A0
00002B18 7000 moveq.l D0, 0x00
00002B1A 1018 move.b D0, [A0]+
label00002B1C:
00002B1C 12D8 move.b [A1]+, [A0]+
00002B1E 51C8 FFFC dbf D0, -0x6 /* 00002B1C */
00002B22 202E 0008 move.l D0, [A6 + 0x8]
label00002B26:
00002B26 285F movea.l A4, [A7]+
00002B28 4E5E unlink A6
00002B2A 4E75 rts
export_53:
fn00002B2C:
00002B2C 4E56 0000 link A6, 0
00002B30 4EBA 08AA jsr [PC + 0x8AA /* 000033DC */]
00002B34 2F00 move.l -[A7], D0
00002B36 2F2E 000C move.l -[A7], [A6 + 0xC]
00002B3A 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002B3E 4EBA 000A jsr [PC + 0xA /* 00002B4A */]
00002B42 4FEF 000C lea.l A7, [A7 + 0xC]
00002B46 4E5E unlink A6
00002B48 4E75 rts
fn00002B4A:
00002B4A 4E56 FFFC link A6, -0x0004
00002B4E 48E7 0018 movem.l -[A7], A3,A4
00002B52 286E 000C movea.l A4, [A6 + 0xC]
00002B56 266E 0010 movea.l A3, [A6 + 0x10]
00002B5A 0C14 0072 cmpi.b [A4], 0x72 /* 'r' */
00002B5E 660C bne +0xE /* 00002B6C */
00002B60 7001 moveq.l D0, 0x01
00002B62 3D40 FFFE move.w [A6 - 0x2], D0
00002B66 426E FFFC clr.w [A6 - 0x4]
00002B6A 6034 bra +0x36 /* 00002BA0 */
label00002B6C:
00002B6C 0C14 0077 cmpi.b [A4], 0x77 /* 'w' */
00002B70 660E bne +0x10 /* 00002B80 */
00002B72 7002 moveq.l D0, 0x02
00002B74 3D40 FFFE move.w [A6 - 0x2], D0
00002B78 7003 moveq.l D0, 0x03
00002B7A 3D40 FFFC move.w [A6 - 0x4], D0
00002B7E 6020 bra +0x22 /* 00002BA0 */
label00002B80:
00002B80 0C14 0061 cmpi.b [A4], 0x61 /* 'a' */
00002B84 660E bne +0x10 /* 00002B94 */
00002B86 7002 moveq.l D0, 0x02
00002B88 3D40 FFFE move.w [A6 - 0x2], D0
00002B8C 7009 moveq.l D0, 0x09
00002B8E 3D40 FFFC move.w [A6 - 0x4], D0
00002B92 600C bra +0xE /* 00002BA0 */
label00002B94:
00002B94 7016 moveq.l D0, 0x16
00002B96 3B40 FB32 move.w [A5 - 0x4CE], D0
00002B9A 7000 moveq.l D0, 0x00
00002B9C 6000 0052 bra +0x54 /* 00002BF0 */
label00002BA0:
00002BA0 0C2C 0062 0001 cmpi.b [A4 + 0x1], 0x62 /* 'b' */
00002BA6 6616 bne +0x18 /* 00002BBE */
00002BA8 08EE 0004 FFFD bset.b [A6 - 0x3], 0x4
00002BAE 0C2C 002B 0002 cmpi.b [A4 + 0x2], 0x2B /* '+' */
00002BB4 6624 bne +0x26 /* 00002BDA */
00002BB6 7003 moveq.l D0, 0x03
00002BB8 3D40 FFFE move.w [A6 - 0x2], D0
00002BBC 601C bra +0x1E /* 00002BDA */
label00002BBE:
00002BBE 0C2C 002B 0001 cmpi.b [A4 + 0x1], 0x2B /* '+' */
00002BC4 6614 bne +0x16 /* 00002BDA */
00002BC6 7003 moveq.l D0, 0x03
00002BC8 3D40 FFFE move.w [A6 - 0x2], D0
00002BCC 0C2C 0062 0002 cmpi.b [A4 + 0x2], 0x62 /* 'b' */
00002BD2 6606 bne +0x8 /* 00002BDA */
00002BD4 08EE 0004 FFFD bset.b [A6 - 0x3], 0x4
label00002BDA:
00002BDA 2F0B move.l -[A7], A3
00002BDC 3F2E FFFC move.w -[A7], [A6 - 0x4]
00002BE0 3F2E FFFE move.w -[A7], [A6 - 0x2]
00002BE4 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002BE8 4EBA 000E jsr [PC + 0xE /* 00002BF8 */]
00002BEC 4FEF 000C lea.l A7, [A7 + 0xC]
label00002BF0:
00002BF0 4CDF 1800 movem.l A3,A4, [A7]+
00002BF4 4E5E unlink A6
00002BF6 4E75 rts
fn00002BF8:
00002BF8 4E56 FECE link A6, -0x0132
00002BFC 2F0C move.l -[A7], A4
00002BFE 286E 0010 movea.l A4, [A6 + 0x10]
00002C02 B8FC 0000 cmpa.w A4, 0x0
00002C06 6606 bne +0x8 /* 00002C0E */
00002C08 7000 moveq.l D0, 0x00
00002C0A 6000 011A bra +0x11C /* 00002D26 */
label00002C0E:
00002C0E 2F0C move.l -[A7], A4
00002C10 4EBA 09CC jsr [PC + 0x9CC /* 000035DE */]
00002C14 588F addq.l A7, 4
00002C16 486E FECE pea.l [A6 - 0x132]
00002C1A 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002C1E 4EBA 23F4 jsr [PC + 0x23F4 /* 00005014 */]
00002C22 508F addq.l A7, 8
00002C24 2D40 FFE0 move.l [A6 - 0x20], D0
00002C28 426E FFE4 clr.w [A6 - 0x1C]
00002C2C 422E FFE8 clr.b [A6 - 0x18]
00002C30 1D6E 000D FFE9 move.b [A6 - 0x17], [A6 + 0xD]
00002C36 42AE FFEA clr.l [A6 - 0x16]
00002C3A 082E 0000 000F btst.b [A6 + 0xF], 0x0
00002C40 6738 beq +0x3A /* 00002C7A */
00002C42 41EE FFCE lea.l A0, [A6 - 0x32]
00002C46 A008 syscall Create/PBHCreate/HCreate
00002C48 4A6E FFDE tst.w [A6 - 0x22]
00002C4C 6608 bne +0xA /* 00002C56 */
00002C4E 08AE 0001 000F bclr.b [A6 + 0xF], 0x1
00002C54 6024 bra +0x26 /* 00002C7A */
label00002C56:
00002C56 0C6E FFD0 FFDE cmpi.w [A6 - 0x22], 0xFFD0
00002C5C 6610 bne +0x12 /* 00002C6E */
00002C5E 082E 0002 000F btst.b [A6 + 0xF], 0x2
00002C64 6608 bne +0xA /* 00002C6E */
00002C66 08AE 0000 000F bclr.b [A6 + 0xF], 0x0
00002C6C 600C bra +0xE /* 00002C7A */
label00002C6E:
00002C6E 3B6E FFDE FB32 move.w [A5 - 0x4CE], [A6 - 0x22]
00002C74 7000 moveq.l D0, 0x00
00002C76 6000 00AE bra +0xB0 /* 00002D26 */
label00002C7A:
00002C7A 41EE FFCE lea.l A0, [A6 - 0x32]
00002C7E A000 syscall Open/PBHOpen/HOpen
00002C80 4A6E FFDE tst.w [A6 - 0x22]
00002C84 671A beq +0x1C /* 00002CA0 */
00002C86 3B6E FFDE FB32 move.w [A5 - 0x4CE], [A6 - 0x22]
00002C8C 082E 0000 000F btst.b [A6 + 0xF], 0x0
00002C92 6706 beq +0x8 /* 00002C9A */
00002C94 41EE FFCE lea.l A0, [A6 - 0x32]
00002C98 A009 syscall Delete/PBHDelete/HDelete
label00002C9A:
00002C9A 7000 moveq.l D0, 0x00
00002C9C 6000 0088 bra +0x8A /* 00002D26 */
label00002CA0:
00002CA0 396E FFE6 0004 move.w [A4 + 0x4], [A6 - 0x1A]
00002CA6 082E 0001 000F btst.b [A6 + 0xF], 0x1
00002CAC 6708 beq +0xA /* 00002CB6 */
00002CAE 41EE FFCE lea.l A0, [A6 - 0x32]
00002CB2 A012 syscall SetEOF
00002CB4 600E bra +0x10 /* 00002CC4 */
label00002CB6:
00002CB6 082E 0000 000F btst.b [A6 + 0xF], 0x0
00002CBC 6606 bne +0x8 /* 00002CC4 */
00002CBE 41EE FFCE lea.l A0, [A6 - 0x32]
00002CC2 A011 syscall GetEOF
label00002CC4:
00002CC4 296E FFEA 001A move.l [A4 + 0x1A], [A6 - 0x16]
00002CCA 082E 0003 000F btst.b [A6 + 0xF], 0x3
00002CD0 670A beq +0xC /* 00002CDC */
00002CD2 08D4 0001 bset.b [A4], 0x1
00002CD6 296C 001A 0016 move.l [A4 + 0x16], [A4 + 0x1A]
label00002CDC:
00002CDC 082E 0004 000F btst.b [A6 + 0xF], 0x4
00002CE2 6704 beq +0x6 /* 00002CE8 */
00002CE4 08D4 0006 bset.b [A4], 0x6
label00002CE8:
00002CE8 4878 0200 push.l 0x200
00002CEC 4267 clr.w -[A7]
00002CEE 42A7 clr.l -[A7]
00002CF0 2F0C move.l -[A7], A4
00002CF2 4EBA 07EA jsr [PC + 0x7EA /* 000034DE */]
00002CF6 4FEF 000E lea.l A7, [A7 + 0xE]
00002CFA 41ED 01BA lea.l A0, [A5 + 0x1BA /* export_51 */]
00002CFE 2948 0022 move.l [A4 + 0x22], A0
00002D02 7003 moveq.l D0, 0x03
00002D04 C06E 000E and.w D0, [A6 + 0xE]
00002D08 4A40 tst.w D0
00002D0A 670E beq +0x10 /* 00002D1A */
00002D0C 3F2E 000E move.w -[A7], [A6 + 0xE]
00002D10 2F2E FFE0 move.l -[A7], [A6 - 0x20]
00002D14 4EBA 0016 jsr [PC + 0x16 /* 00002D2C */]
00002D18 5C8F addq.l A7, 6
label00002D1A:
00002D1A 486D 01C2 pea.l [A5 + 0x1C2 /* export_52 */]
00002D1E 4EBA D660 jsr [PC - 0x29A0 /* 00000380 */]
00002D22 588F addq.l A7, 4
00002D24 200C move.l D0, A4
label00002D26:
00002D26 285F movea.l A4, [A7]+
00002D28 4E5E unlink A6
00002D2A 4E75 rts
fn00002D2C:
00002D2C 4E56 FFB0 link A6, -0x0050
00002D30 2D6E 0008 FFC2 move.l [A6 - 0x3E], [A6 + 0x8]
00002D36 426E FFC6 clr.w [A6 - 0x3A]
00002D3A 422E FFCA clr.b [A6 - 0x36]
00002D3E 426E FFCC clr.w [A6 - 0x34]
00002D42 41EE FFB0 lea.l A0, [A6 - 0x50]
00002D46 A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
00002D48 6B24 bmi +0x26 /* 00002D6E */
00002D4A 203C 3F3F 3F3F move.l D0, 0x3F3F3F3F /* '????' */
00002D50 2D40 FFD4 move.l [A6 - 0x2C], D0
00002D54 2D40 FFD0 move.l [A6 - 0x30], D0
00002D58 082E 0004 000D btst.b [A6 + 0xD], 0x4
00002D5E 6608 bne +0xA /* 00002D68 */
00002D60 2D7C 5445 5854 FFD0 move.l [A6 - 0x30], 0x54455854 /* 'TEXT' */
label00002D68:
00002D68 41EE FFB0 lea.l A0, [A6 - 0x50]
00002D6C A00D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo
label00002D6E:
00002D6E 4E5E unlink A6
00002D70 4E75 rts
export_52:
00002D72 4E56 FFFE link A6, -0x0002
00002D76 2F0C move.l -[A7], A4
00002D78 41ED FB66 lea.l A0, [A5 - 0x49A]
00002D7C 2848 movea.l A4, A0
00002D7E 700F moveq.l D0, 0x0F
00002D80 3D40 FFFE move.w [A6 - 0x2], D0
00002D84 600C bra +0xE /* 00002D92 */
label00002D86:
00002D86 2F0C move.l -[A7], A4
00002D88 4EBA 0854 jsr [PC + 0x854 /* 000035DE */]
00002D8C 588F addq.l A7, 4
00002D8E 49EC 0026 lea.l A4, [A4 + 0x26]
label00002D92:
00002D92 302E FFFE move.w D0, [A6 - 0x2]
00002D96 536E FFFE subq.w [A6 - 0x2], 1
00002D9A 4A40 tst.w D0
00002D9C 66E8 bne -0x16 /* 00002D86 */
00002D9E 285F movea.l A4, [A7]+
00002DA0 4E5E unlink A6
00002DA2 4E75 rts
export_51:
00002DA4 4E56 FFCE link A6, -0x0032
00002DA8 2F0C move.l -[A7], A4
00002DAA 286E 0008 movea.l A4, [A6 + 0x8]
00002DAE 3D6C 0004 FFE6 move.w [A6 - 0x1A], [A4 + 0x4]
00002DB4 302E 000C move.w D0, [A6 + 0xC]
00002DB8 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
00002DBC 0000 0002 ori.b D0, 0x2
00002DC0 0128 0006 btst [A0 + 0x6], D0
00002DC4 0092 0116 2D6C ori.l [A2], 0x1162D6C
00002DCA 000E FFEE ori.b A6, 0xEE
00002DCE 2D6C 0012 FFF2 move.l [A6 - 0xE], [A4 + 0x12]
00002DD4 4A6C 0004 tst.w [A4 + 0x4]
00002DD8 6E04 bgt +0x6 /* 00002DDE */
00002DDA 7000 moveq.l D0, 0x00
00002DDC 6002 bra +0x4 /* 00002DE0 */
label00002DDE:
00002DDE 7001 moveq.l D0, 0x01
label00002DE0:
00002DE0 3D40 FFFA move.w [A6 - 0x6], D0
00002DE4 202C 0016 move.l D0, [A4 + 0x16]
00002DE8 90AC 0012 sub.l D0, [A4 + 0x12]
00002DEC 2D40 FFFC move.l [A6 - 0x4], D0
00002DF0 41EE FFCE lea.l A0, [A6 - 0x32]
00002DF4 A002 syscall Read
00002DF6 0C6E FFD9 FFDE cmpi.w [A6 - 0x22], 0xFFD9
00002DFC 661E bne +0x20 /* 00002E1C */
00002DFE 296E FFFC 0016 move.l [A4 + 0x16], [A6 - 0x4]
00002E04 296E FFF6 0012 move.l [A4 + 0x12], [A6 - 0xA]
00002E0A 6706 beq +0x8 /* 00002E12 */
00002E0C 426E FFDE clr.w [A6 - 0x22]
00002E10 600A bra +0xC /* 00002E1C */
label00002E12:
00002E12 08D4 0005 bset.b [A4], 0x5
00002E16 70FF moveq.l D0, 0xFFFFFFFF
00002E18 6000 00E4 bra +0xE6 /* 00002EFE */
label00002E1C:
00002E1C 4A6E FFDE tst.w [A6 - 0x22]
00002E20 6710 beq +0x12 /* 00002E32 */
00002E22 202C 0012 move.l D0, [A4 + 0x12]
00002E26 91AC 0016 sub.l [A4 + 0x16], D0
00002E2A 42AC 0012 clr.l [A4 + 0x12]
00002E2E 6000 00B8 bra +0xBA /* 00002EE8 */
label00002E32:
00002E32 0814 0006 btst.b [A4], 0x6
00002E36 6600 00B0 bne +0xB2 /* 00002EE8 */
00002E3A 3F3C 000A move.w -[A7], 0xA /* '\n' */
00002E3E 3F3C 000D move.w -[A7], 0xD /* '\r' */
00002E42 2F2C 0012 move.l -[A7], [A4 + 0x12]
00002E46 2F2C 000E move.l -[A7], [A4 + 0xE]
00002E4A 4EBA 0180 jsr [PC + 0x180 /* 00002FCC */]
00002E4E 4FEF 000C lea.l A7, [A7 + 0xC]
00002E52 6000 0094 bra +0x96 /* 00002EE8 */
00002E56 2D6C 000E FFEE move.l [A6 - 0x12], [A4 + 0xE]
00002E5C 2D6C 0012 FFF2 move.l [A6 - 0xE], [A4 + 0x12]
00002E62 4A6C 0004 tst.w [A4 + 0x4]
00002E66 6E04 bgt +0x6 /* 00002E6C */
00002E68 7000 moveq.l D0, 0x00
00002E6A 6002 bra +0x4 /* 00002E6E */
label00002E6C:
00002E6C 7001 moveq.l D0, 0x01
label00002E6E:
00002E6E 3D40 FFFA move.w [A6 - 0x6], D0
00002E72 202C 0016 move.l D0, [A4 + 0x16]
00002E76 90AC 0012 sub.l D0, [A4 + 0x12]
00002E7A 2D40 FFFC move.l [A6 - 0x4], D0
00002E7E B0AC 001A cmp.l D0, [A4 + 0x1A]
00002E82 630E bls +0x10 /* 00002E92 */
00002E84 2D6E FFFC FFEA move.l [A6 - 0x16], [A6 - 0x4]
00002E8A 41EE FFCE lea.l A0, [A6 - 0x32]
00002E8E A012 syscall SetEOF
00002E90 6B24 bmi +0x26 /* 00002EB6 */
label00002E92:
00002E92 0814 0006 btst.b [A4], 0x6
00002E96 6618 bne +0x1A /* 00002EB0 */
00002E98 3F3C 000D move.w -[A7], 0xD /* '\r' */
00002E9C 3F3C 000A move.w -[A7], 0xA /* '\n' */
00002EA0 2F2C 0012 move.l -[A7], [A4 + 0x12]
00002EA4 2F2C 000E move.l -[A7], [A4 + 0xE]
00002EA8 4EBA 0122 jsr [PC + 0x122 /* 00002FCC */]
00002EAC 4FEF 000C lea.l A7, [A7 + 0xC]
label00002EB0:
00002EB0 41EE FFCE lea.l A0, [A6 - 0x32]
00002EB4 A003 syscall Write
label00002EB6:
00002EB6 4A6E FFDE tst.w [A6 - 0x22]
00002EBA 670E beq +0x10 /* 00002ECA */
00002EBC 202C 0012 move.l D0, [A4 + 0x12]
00002EC0 91AC 0016 sub.l [A4 + 0x16], D0
00002EC4 42AC 0012 clr.l [A4 + 0x12]
00002EC8 601E bra +0x20 /* 00002EE8 */
label00002ECA:
00002ECA 202E FFFC move.l D0, [A6 - 0x4]
00002ECE B0AC 001A cmp.l D0, [A4 + 0x1A]
00002ED2 6314 bls +0x16 /* 00002EE8 */
00002ED4 296E FFFC 001A move.l [A4 + 0x1A], [A6 - 0x4]
00002EDA 600C bra +0xE /* 00002EE8 */
00002EDC 2F0C move.l -[A7], A4
00002EDE 4EBA 0024 jsr [PC + 0x24 /* 00002F04 */]
00002EE2 588F addq.l A7, 4
00002EE4 3D40 FFDE move.w [A6 - 0x22], D0
label00002EE8:
00002EE8 4A6E FFDE tst.w [A6 - 0x22]
00002EEC 670E beq +0x10 /* 00002EFC */
00002EEE 08D4 0004 bset.b [A4], 0x4
00002EF2 3B6E FFDE FB32 move.w [A5 - 0x4CE], [A6 - 0x22]
00002EF8 70FF moveq.l D0, 0xFFFFFFFF
00002EFA 6002 bra +0x4 /* 00002EFE */
label00002EFC:
00002EFC 7000 moveq.l D0, 0x00
label00002EFE:
00002EFE 285F movea.l A4, [A7]+
00002F00 4E5E unlink A6
00002F02 4E75 rts
fn00002F04:
00002F04 4E56 FEAC link A6, -0x0154
00002F08 48E7 0038 movem.l -[A7], A2,A3,A4
00002F0C 286E 0008 movea.l A4, [A6 + 0x8]
00002F10 306C 0004 movea.w A0, [A4 + 0x4]
00002F14 D1F8 034E add.l A0, [0x0000034E /* FCBSPtr */]
00002F18 2648 movea.l A3, A0
00002F1A 2D6B 0014 FEAC move.l [A6 - 0x154], [A3 + 0x14]
00002F20 41EE FEB0 lea.l A0, [A6 - 0x150]
00002F24 2D48 FFC2 move.l [A6 - 0x3E], A0
00002F28 3D6C 0004 FFC8 move.w [A6 - 0x38], [A4 + 0x4]
00002F2E 206E FEAC movea.l A0, [A6 - 0x154]
00002F32 3D68 004E FFC6 move.w [A6 - 0x3A], [A0 + 0x4E]
00002F38 422E FFCA clr.b [A6 - 0x36]
00002F3C 0814 0000 btst.b [A4], 0x0
00002F40 6732 beq +0x34 /* 00002F74 */
00002F42 206E FEAC movea.l A0, [A6 - 0x154]
00002F46 0C68 4244 0008 cmpi.w [A0 + 0x8], 0x4244 /* 'BD' */
00002F4C 6626 bne +0x28 /* 00002F74 */
00002F4E 2D6B 003A FFE0 move.l [A6 - 0x20], [A3 + 0x3A]
00002F54 41EB 003E lea.l A0, [A3 + 0x3E]
00002F58 2448 movea.l A2, A0
00002F5A 41EE FEB0 lea.l A0, [A6 - 0x150]
00002F5E 7000 moveq.l D0, 0x00
00002F60 1012 move.b D0, [A2]
label00002F62:
00002F62 10DA move.b [A0]+, [A2]+
00002F64 51C8 FFFC dbf D0, -0x6 /* 00002F62 */
00002F68 41EE FFB0 lea.l A0, [A6 - 0x50]
00002F6C A001 syscall Close
00002F6E 6B50 bmi +0x52 /* 00002FC0 */
00002F70 A209 syscall Delete/PBHDelete/HDelete, flags=2
00002F72 6042 bra +0x44 /* 00002FB6 */
label00002F74:
00002F74 0814 0000 btst.b [A4], 0x0
00002F78 6734 beq +0x36 /* 00002FAE */
00002F7A 206E FEAC movea.l A0, [A6 - 0x154]
00002F7E 0C68 D2D7 0008 cmpi.w [A0 + 0x8], 0xD2D7
00002F84 6628 bne +0x2A /* 00002FAE */
00002F86 7001 moveq.l D0, 0x01
00002F88 3D40 FFCC move.w [A6 - 0x34], D0
label00002F8C:
00002F8C 41EE FFB0 lea.l A0, [A6 - 0x50]
00002F90 A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
00002F92 6B1A bmi +0x1C /* 00002FAE */
00002F94 526E FFCC addq.w [A6 - 0x34], 1
00002F98 302E FFC8 move.w D0, [A6 - 0x38]
00002F9C B06C 0004 cmp.w D0, [A4 + 0x4]
00002FA0 66EA bne -0x14 /* 00002F8C */
00002FA2 41EE FFB0 lea.l A0, [A6 - 0x50]
00002FA6 A001 syscall Close
00002FA8 6B16 bmi +0x18 /* 00002FC0 */
00002FAA A009 syscall Delete/PBHDelete/HDelete
00002FAC 6008 bra +0xA /* 00002FB6 */
label00002FAE:
00002FAE 41EE FFB0 lea.l A0, [A6 - 0x50]
00002FB2 A001 syscall Close
00002FB4 6B0A bmi +0xC /* 00002FC0 */
label00002FB6:
00002FB6 42AE FFC2 clr.l [A6 - 0x3E]
00002FBA 41EE FFB0 lea.l A0, [A6 - 0x50]
00002FBE A013 syscall FlushVol
label00002FC0:
00002FC0 302E FFC0 move.w D0, [A6 - 0x40]
00002FC4 4CDF 1C00 movem.l A2,A3,A4, [A7]+
00002FC8 4E5E unlink A6
00002FCA 4E75 rts
fn00002FCC:
00002FCC 4E56 0000 link A6, 0
00002FD0 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
00002FD4 286E 0008 movea.l A4, [A6 + 0x8]
00002FD8 2E2E 000C move.l D7, [A6 + 0xC]
00002FDC 3C2E 0010 move.w D6, [A6 + 0x10]
00002FE0 3A2E 0012 move.w D5, [A6 + 0x12]
00002FE4 600E bra +0x10 /* 00002FF4 */
label00002FE6:
00002FE6 41D3 lea.l A0, [A3]
00002FE8 528B addq.l A3, 1
00002FEA 1085 move.b [A0], D5
00002FEC 200B move.l D0, A3
00002FEE 908C sub.l D0, A4
00002FF0 9E80 sub.l D7, D0
00002FF2 284B movea.l A4, A3
label00002FF4:
00002FF4 4A87 tst.l D7
00002FF6 6714 beq +0x16 /* 0000300C */
00002FF8 2F07 move.l -[A7], D7
00002FFA 3F06 move.w -[A7], D6
00002FFC 2F0C move.l -[A7], A4
00002FFE 4EBA 06A4 jsr [PC + 0x6A4 /* 000036A4 */]
00003002 4FEF 000A lea.l A7, [A7 + 0xA]
00003006 2640 movea.l A3, D0
00003008 4A80 tst.l D0
0000300A 66DA bne -0x24 /* 00002FE6 */
label0000300C:
0000300C 4CDF 18E0 movem.l D5,D6,D7,A3,A4, [A7]+
00003010 4E5E unlink A6
00003012 4E75 rts
export_49:
fn00003014:
00003014 4E56 FFFC link A6, -0x0004
00003018 2F0C move.l -[A7], A4
0000301A 286E 0008 movea.l A4, [A6 + 0x8]
0000301E 202C 0016 move.l D0, [A4 + 0x16]
00003022 90AC 0012 sub.l D0, [A4 + 0x12]
00003026 2D40 FFFC move.l [A6 - 0x4], D0
0000302A 4A6C 0004 tst.w [A4 + 0x4]
0000302E 6E0C bgt +0xE /* 0000303C */
00003030 7013 moveq.l D0, 0x13
00003032 3B40 FB32 move.w [A5 - 0x4CE], D0
00003036 70FF moveq.l D0, 0xFFFFFFFF
00003038 6000 0056 bra +0x58 /* 00003090 */
label0000303C:
0000303C 2F0C move.l -[A7], A4
0000303E 4EBA 053A jsr [PC + 0x53A /* 0000357A */]
00003042 588F addq.l A7, 4
00003044 0C6E 0001 0010 cmpi.w [A6 + 0x10], 0x1
0000304A 660A bne +0xC /* 00003056 */
0000304C 202E FFFC move.l D0, [A6 - 0x4]
00003050 D1AE 000C add.l [A6 + 0xC], D0
00003054 601E bra +0x20 /* 00003074 */
label00003056:
00003056 0C6E 0002 0010 cmpi.w [A6 + 0x10], 0x2
0000305C 660A bne +0xC /* 00003068 */
0000305E 202C 001A move.l D0, [A4 + 0x1A]
00003062 D1AE 000C add.l [A6 + 0xC], D0
00003066 600C bra +0xE /* 00003074 */
label00003068:
00003068 4A6E 0010 tst.w [A6 + 0x10]
0000306C 6706 beq +0x8 /* 00003074 */
0000306E 70FF moveq.l D0, 0xFFFFFFFF
00003070 2D40 000C move.l [A6 + 0xC], D0
label00003074:
00003074 4AAE 000C tst.l [A6 + 0xC]
00003078 6C0A bge +0xC /* 00003084 */
0000307A 7016 moveq.l D0, 0x16
0000307C 3B40 FB32 move.w [A5 - 0x4CE], D0
00003080 70FF moveq.l D0, 0xFFFFFFFF
00003082 600C bra +0xE /* 00003090 */
label00003084:
00003084 296E 000C 0016 move.l [A4 + 0x16], [A6 + 0xC]
0000308A 0894 0005 bclr.b [A4], 0x5
0000308E 7000 moveq.l D0, 0x00
label00003090:
00003090 285F movea.l A4, [A7]+
00003092 4E5E unlink A6
00003094 4E75 rts
00003096 4E56 0000 link A6, 0
0000309A 4267 clr.w -[A7]
0000309C 206E 000C movea.l A0, [A6 + 0xC]
000030A0 2F10 move.l -[A7], [A0]
000030A2 2F2E 0008 move.l -[A7], [A6 + 0x8]
000030A6 4EBA FF6C jsr [PC - 0x94 /* 00003014 */]
000030AA 4FEF 000A lea.l A7, [A7 + 0xA]
000030AE 4E5E unlink A6
000030B0 4E75 rts
fn000030B2:
000030B2 4E56 0000 link A6, 0
000030B6 4267 clr.w -[A7]
000030B8 42A7 clr.l -[A7]
000030BA 2F2E 0008 move.l -[A7], [A6 + 0x8]
000030BE 4EBA FF54 jsr [PC - 0xAC /* 00003014 */]
000030C2 4FEF 000A lea.l A7, [A7 + 0xA]
000030C6 206E 0008 movea.l A0, [A6 + 0x8]
000030CA 0890 0004 bclr.b [A0], 0x4
000030CE 4E5E unlink A6
000030D0 4E75 rts
export_50:
000030D2 4E56 0000 link A6, 0
000030D6 2F0C move.l -[A7], A4
000030D8 286E 0008 movea.l A4, [A6 + 0x8]
000030DC 4A6C 0004 tst.w [A4 + 0x4]
000030E0 6E0A bgt +0xC /* 000030EC */
000030E2 7013 moveq.l D0, 0x13
000030E4 3B40 FB32 move.w [A5 - 0x4CE], D0
000030E8 70FF moveq.l D0, 0xFFFFFFFF
000030EA 6008 bra +0xA /* 000030F4 */
label000030EC:
000030EC 202C 0016 move.l D0, [A4 + 0x16]
000030F0 90AC 0012 sub.l D0, [A4 + 0x12]
label000030F4:
000030F4 285F movea.l A4, [A7]+
000030F6 4E5E unlink A6
000030F8 4E75 rts
000030FA 4E56 0000 link A6, 0
000030FE 206E 0008 movea.l A0, [A6 + 0x8]
00003102 4A68 0004 tst.w [A0 + 0x4]
00003106 6E0A bgt +0xC /* 00003112 */
00003108 7013 moveq.l D0, 0x13
0000310A 3B40 FB32 move.w [A5 - 0x4CE], D0
0000310E 70FF moveq.l D0, 0xFFFFFFFF
00003110 6018 bra +0x1A /* 0000312A */
label00003112:
00003112 206E 0008 movea.l A0, [A6 + 0x8]
00003116 226E 0008 movea.l A1, [A6 + 0x8]
0000311A 2029 0016 move.l D0, [A1 + 0x16]
0000311E 90A8 0012 sub.l D0, [A0 + 0x12]
00003122 206E 000C movea.l A0, [A6 + 0xC]
00003126 2080 move.l [A0], D0
00003128 7000 moveq.l D0, 0x00
label0000312A:
0000312A 4E5E unlink A6
0000312C 4E75 rts
fn0000312E:
0000312E 4E56 FFFE link A6, -0x0002
00003132 48E7 0308 movem.l -[A7], D6,D7,A4
00003136 286E 0014 movea.l A4, [A6 + 0x14]
0000313A 2F2E 0010 move.l -[A7], [A6 + 0x10]
0000313E 2F2E 000C move.l -[A7], [A6 + 0xC]
00003142 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
00003146 2E00 move.l D7, D0
00003148 4A87 tst.l D7
0000314A 6606 bne +0x8 /* 00003152 */
0000314C 7000 moveq.l D0, 0x00
0000314E 6000 014C bra +0x14E /* 0000329C */
label00003152:
00003152 2F0C move.l -[A7], A4
00003154 4EBA 1E6E jsr [PC + 0x1E6E /* 00004FC4 */]
00003158 588F addq.l A7, 4
0000315A 0814 0001 btst.b [A4], 0x1
0000315E 670C beq +0xE /* 0000316C */
00003160 0814 0003 btst.b [A4], 0x3
00003164 6606 bne +0x8 /* 0000316C */
00003166 296C 001A 0016 move.l [A4 + 0x16], [A4 + 0x1A]
label0000316C:
0000316C 4A6C 0004 tst.w [A4 + 0x4]
00003170 6F00 007A ble +0x7C /* 000031EC */
00003174 0814 0006 btst.b [A4], 0x6
00003178 6700 0072 beq +0x74 /* 000031EC */
0000317C 4AAC 0012 tst.l [A4 + 0x12]
00003180 6600 006A bne +0x6C /* 000031EC */
00003184 BEAC 000A cmp.l D7, [A4 + 0xA]
00003188 6500 0062 bcs +0x64 /* 000031EC */
0000318C 0CAC 0000 0001 000A cmpi.l [A4 + 0xA], 0x1
00003194 6710 beq +0x12 /* 000031A6 */
00003196 2F2C 000A move.l -[A7], [A4 + 0xA]
0000319A 2F2C 0016 move.l -[A7], [A4 + 0x16]
0000319E 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
000031A2 4A80 tst.l D0
000031A4 6646 bne +0x48 /* 000031EC */
label000031A6:
000031A6 2C07 move.l D6, D7
000031A8 0CAC 0000 0001 000A cmpi.l [A4 + 0xA], 0x1
000031B0 630C bls +0xE /* 000031BE */
000031B2 2F2C 000A move.l -[A7], [A4 + 0xA]
000031B6 2F06 move.l -[A7], D6
000031B8 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
000031BC 9C80 sub.l D6, D0
label000031BE:
000031BE 296E 0008 000E move.l [A4 + 0xE], [A6 + 0x8]
000031C4 2946 0012 move.l [A4 + 0x12], D6
000031C8 DDAC 0016 add.l [A4 + 0x16], D6
000031CC 2F0C move.l -[A7], A4
000031CE 4EBA 1FB8 jsr [PC + 0x1FB8 /* 00005188 */]
000031D2 588F addq.l A7, 4
000031D4 3D40 FFFE move.w [A6 - 0x2], D0
000031D8 2F0C move.l -[A7], A4
000031DA 4EBA D432 jsr [PC - 0x2BCE /* 0000060E */]
000031DE 588F addq.l A7, 4
000031E0 4A6E FFFE tst.w [A6 - 0x2]
000031E4 6600 0098 bne +0x9A /* 0000327E */
000031E8 6000 0088 bra +0x8A /* 00003272 */
label000031EC:
000031EC 0814 0003 btst.b [A4], 0x3
000031F0 6706 beq +0x8 /* 000031F8 */
000031F2 4AAC 001E tst.l [A4 + 0x1E]
000031F6 6744 beq +0x46 /* 0000323C */
label000031F8:
000031F8 202C 0012 move.l D0, [A4 + 0x12]
000031FC 53AC 0012 subq.l [A4 + 0x12], 1
00003200 0C80 0000 0001 cmpi.l D0, 0x1
00003206 6318 bls +0x1A /* 00003220 */
00003208 206C 000E movea.l A0, [A4 + 0xE]
0000320C 52AC 000E addq.l [A4 + 0xE], 1
00003210 226E 0008 movea.l A1, [A6 + 0x8]
00003214 1011 move.b D0, [A1]
00003216 1080 move.b [A0], D0
00003218 0240 00FF andi.w D0, 0xFF
0000321C 48C0 ext.l D0
0000321E 6012 bra +0x14 /* 00003232 */
label00003220:
00003220 2F0C move.l -[A7], A4
00003222 206E 0008 movea.l A0, [A6 + 0x8]
00003226 1010 move.b D0, [A0]
00003228 4880 ext.w D0
0000322A 3F00 move.w -[A7], D0
0000322C 4EBA D2A0 jsr [PC - 0x2D60 /* 000004CE */]
00003230 5C8F addq.l A7, 6
label00003232:
00003232 0C40 FFFF cmpi.w D0, 0xFFFF
00003236 6746 beq +0x48 /* 0000327E */
00003238 7C01 moveq.l D6, 0x01
0000323A 6036 bra +0x38 /* 00003272 */
label0000323C:
0000323C 2C2C 0012 move.l D6, [A4 + 0x12]
00003240 BC87 cmp.l D6, D7
00003242 6302 bls +0x4 /* 00003246 */
00003244 2C07 move.l D6, D7
label00003246:
00003246 2F06 move.l -[A7], D6
00003248 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000324C 2F2C 000E move.l -[A7], [A4 + 0xE]
00003250 4EBA 03F2 jsr [PC + 0x3F2 /* 00003644 */]
00003254 4FEF 000C lea.l A7, [A7 + 0xC]
00003258 DDAC 000E add.l [A4 + 0xE], D6
0000325C 9DAC 0012 sub.l [A4 + 0x12], D6
00003260 4AAC 0012 tst.l [A4 + 0x12]
00003264 660C bne +0xE /* 00003272 */
00003266 2F0C move.l -[A7], A4
00003268 4EBA D354 jsr [PC - 0x2CAC /* 000005BE */]
0000326C 588F addq.l A7, 4
0000326E 4A40 tst.w D0
00003270 660C bne +0xE /* 0000327E */
label00003272:
00003272 DDAE 0008 add.l [A6 + 0x8], D6
00003276 9E86 sub.l D7, D6
00003278 4A87 tst.l D7
0000327A 6600 FEF0 bne -0x10E /* 0000316C */
label0000327E:
0000327E 4A87 tst.l D7
00003280 6716 beq +0x18 /* 00003298 */
00003282 2007 move.l D0, D7
00003284 D0AE 000C add.l D0, [A6 + 0xC]
00003288 2F2E 000C move.l -[A7], [A6 + 0xC]
0000328C 5380 subq.l D0, 1
0000328E 2F00 move.l -[A7], D0
00003290 4EAD 004A jsr [A5 + 0x4A /* export_5 */]
00003294 91AE 0010 sub.l [A6 + 0x10], D0
label00003298:
00003298 202E 0010 move.l D0, [A6 + 0x10]
label0000329C:
0000329C 4CDF 10C0 movem.l D6,D7,A4, [A7]+
000032A0 4E5E unlink A6
000032A2 4E75 rts
fn000032A4:
000032A4 4E56 0000 link A6, 0
000032A8 48E7 0118 movem.l -[A7], D7,A3,A4
000032AC 286E 000E movea.l A4, [A6 + 0xE]
000032B0 266E 0008 movea.l A3, [A6 + 0x8]
000032B4 0C6E 0001 000C cmpi.w [A6 + 0xC], 0x1
000032BA 6C00 004E bge +0x50 /* 0000330A */
000032BE 7000 moveq.l D0, 0x00
000032C0 6000 0058 bra +0x5A /* 0000331A */
label000032C4:
000032C4 202C 0012 move.l D0, [A4 + 0x12]
000032C8 53AC 0012 subq.l [A4 + 0x12], 1
000032CC 4A80 tst.l D0
000032CE 6710 beq +0x12 /* 000032E0 */
000032D0 206C 000E movea.l A0, [A4 + 0xE]
000032D4 52AC 000E addq.l [A4 + 0xE], 1
000032D8 7000 moveq.l D0, 0x00
000032DA 1010 move.b D0, [A0]
000032DC 48C0 ext.l D0
000032DE 6008 bra +0xA /* 000032E8 */
label000032E0:
000032E0 2F0C move.l -[A7], A4
000032E2 4EBA D184 jsr [PC - 0x2E7C /* 00000468 */]
000032E6 588F addq.l A7, 4
label000032E8:
000032E8 3E00 move.w D7, D0
000032EA 4A40 tst.w D0
000032EC 6C10 bge +0x12 /* 000032FE */
000032EE 0814 0005 btst.b [A4], 0x5
000032F2 6706 beq +0x8 /* 000032FA */
000032F4 B7EE 0008 cmpa.l A3, [A6 + 0x8]
000032F8 661A bne +0x1C /* 00003314 */
label000032FA:
000032FA 7000 moveq.l D0, 0x00
000032FC 601C bra +0x1E /* 0000331A */
label000032FE:
000032FE 41D3 lea.l A0, [A3]
00003300 528B addq.l A3, 1
00003302 1087 move.b [A0], D7
00003304 0C47 000A cmpi.w D7, 0xA /* '\n' */
00003308 670A beq +0xC /* 00003314 */
label0000330A:
0000330A 536E 000C subq.w [A6 + 0xC], 1
0000330E 4A6E 000C tst.w [A6 + 0xC]
00003312 66B0 bne -0x4E /* 000032C4 */
label00003314:
00003314 4213 clr.b [A3]
00003316 202E 0008 move.l D0, [A6 + 0x8]
label0000331A:
0000331A 4CDF 1880 movem.l D7,A3,A4, [A7]+
0000331E 4E5E unlink A6
00003320 4E75 rts
00003322 4E56 0000 link A6, 0
00003326 48E7 0118 movem.l -[A7], D7,A3,A4
0000332A 41ED FB66 lea.l A0, [A5 - 0x49A]
0000332E 2848 movea.l A4, A0
00003330 266E 0008 movea.l A3, [A6 + 0x8]
label00003334:
00003334 202C 0012 move.l D0, [A4 + 0x12]
00003338 53AC 0012 subq.l [A4 + 0x12], 1
0000333C 4A80 tst.l D0
0000333E 6710 beq +0x12 /* 00003350 */
00003340 206C 000E movea.l A0, [A4 + 0xE]
00003344 52AC 000E addq.l [A4 + 0xE], 1
00003348 7000 moveq.l D0, 0x00
0000334A 1010 move.b D0, [A0]
0000334C 48C0 ext.l D0
0000334E 6008 bra +0xA /* 00003358 */
label00003350:
00003350 2F0C move.l -[A7], A4
00003352 4EBA D114 jsr [PC - 0x2EEC /* 00000468 */]
00003356 588F addq.l A7, 4
label00003358:
00003358 3E00 move.w D7, D0
0000335A 4A40 tst.w D0
0000335C 6C10 bge +0x12 /* 0000336E */
0000335E 0814 0005 btst.b [A4], 0x5
00003362 6706 beq +0x8 /* 0000336A */
00003364 B7EE 0008 cmpa.l A3, [A6 + 0x8]
00003368 6612 bne +0x14 /* 0000337C */
label0000336A:
0000336A 7000 moveq.l D0, 0x00
0000336C 6014 bra +0x16 /* 00003382 */
label0000336E:
0000336E 0C47 000A cmpi.w D7, 0xA /* '\n' */
00003372 6708 beq +0xA /* 0000337C */
00003374 41D3 lea.l A0, [A3]
00003376 528B addq.l A3, 1
00003378 1087 move.b [A0], D7
0000337A 60B8 bra -0x46 /* 00003334 */
label0000337C:
0000337C 4213 clr.b [A3]
0000337E 202E 0008 move.l D0, [A6 + 0x8]
label00003382:
00003382 4CDF 1880 movem.l D7,A3,A4, [A7]+
00003386 4E5E unlink A6
00003388 4E75 rts
fn0000338A:
0000338A 4E56 0000 link A6, 0
0000338E 2F0C move.l -[A7], A4
00003390 286E 0008 movea.l A4, [A6 + 0x8]
00003394 202C 0012 move.l D0, [A4 + 0x12]
00003398 53AC 0012 subq.l [A4 + 0x12], 1
0000339C 4A80 tst.l D0
0000339E 6710 beq +0x12 /* 000033B0 */
000033A0 206C 000E movea.l A0, [A4 + 0xE]
000033A4 52AC 000E addq.l [A4 + 0xE], 1
000033A8 7000 moveq.l D0, 0x00
000033AA 1010 move.b D0, [A0]
000033AC 48C0 ext.l D0
000033AE 6008 bra +0xA /* 000033B8 */
label000033B0:
000033B0 2F0C move.l -[A7], A4
000033B2 4EBA D0B4 jsr [PC - 0x2F4C /* 00000468 */]
000033B6 588F addq.l A7, 4
label000033B8:
000033B8 285F movea.l A4, [A7]+
000033BA 4E5E unlink A6
000033BC 4E75 rts
000033BE 4E56 0000 link A6, 0
000033C2 2F2E 0008 move.l -[A7], [A6 + 0x8]
000033C6 4EBA FFC2 jsr [PC - 0x3E /* 0000338A */]
000033CA 588F addq.l A7, 4
000033CC 4E5E unlink A6
000033CE 4E75 rts
000033D0 486D FB66 pea.l [A5 - 0x49A]
000033D4 4EBA FFB4 jsr [PC - 0x4C /* 0000338A */]
000033D8 588F addq.l A7, 4
000033DA 4E75 rts
fn000033DC:
000033DC 4E56 FFFE link A6, -0x0002
000033E0 2F0C move.l -[A7], A4
000033E2 41ED FBD8 lea.l A0, [A5 - 0x428]
000033E6 2848 movea.l A4, A0
000033E8 700C moveq.l D0, 0x0C
000033EA 3D40 FFFE move.w [A6 - 0x2], D0
000033EE 600E bra +0x10 /* 000033FE */
label000033F0:
000033F0 4A6C 0004 tst.w [A4 + 0x4]
000033F4 6604 bne +0x6 /* 000033FA */
000033F6 200C move.l D0, A4
000033F8 6018 bra +0x1A /* 00003412 */
label000033FA:
000033FA 49EC 0026 lea.l A4, [A4 + 0x26]
label000033FE:
000033FE 302E FFFE move.w D0, [A6 - 0x2]
00003402 536E FFFE subq.w [A6 - 0x2], 1
00003406 4A40 tst.w D0
00003408 66E6 bne -0x18 /* 000033F0 */
0000340A 7018 moveq.l D0, 0x18
0000340C 3B40 FB32 move.w [A5 - 0x4CE], D0
00003410 7000 moveq.l D0, 0x00
label00003412:
00003412 285F movea.l A4, [A7]+
00003414 4E5E unlink A6
00003416 4E75 rts
export_30:
00003418 4E56 0000 link A6, 0
0000341C 486E 0010 pea.l [A6 + 0x10]
00003420 2F2E 000C move.l -[A7], [A6 + 0xC]
00003424 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003428 4EBA 02B0 jsr [PC + 0x2B0 /* 000036DA */]
0000342C 4FEF 000C lea.l A7, [A7 + 0xC]
00003430 4E5E unlink A6
00003432 4E75 rts
export_32:
00003434 4E56 0000 link A6, 0
00003438 486E 000C pea.l [A6 + 0xC]
0000343C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003440 4EBA 0008 jsr [PC + 0x8 /* 0000344A */]
00003444 508F addq.l A7, 8
00003446 4E5E unlink A6
00003448 4E75 rts
fn0000344A:
0000344A 4E56 0000 link A6, 0
0000344E 2F2E 000C move.l -[A7], [A6 + 0xC]
00003452 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003456 486D FB8C pea.l [A5 - 0x474]
0000345A 4EBA 027E jsr [PC + 0x27E /* 000036DA */]
0000345E 4FEF 000C lea.l A7, [A7 + 0xC]
00003462 4E5E unlink A6
00003464 4E75 rts
00003466 4E56 0000 link A6, 0
0000346A 486E 0010 pea.l [A6 + 0x10]
0000346E 2F2E 000C move.l -[A7], [A6 + 0xC]
00003472 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003476 4EBA 0F9A jsr [PC + 0xF9A /* 00004412 */]
0000347A 4FEF 000C lea.l A7, [A7 + 0xC]
0000347E 4E5E unlink A6
00003480 4E75 rts
00003482 4E56 0000 link A6, 0
00003486 486E 000C pea.l [A6 + 0xC]
0000348A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000348E 4EBA 0008 jsr [PC + 0x8 /* 00003498 */]
00003492 508F addq.l A7, 8
00003494 4E5E unlink A6
00003496 4E75 rts
fn00003498:
00003498 4E56 0000 link A6, 0
0000349C 2F2E 000C move.l -[A7], [A6 + 0xC]
000034A0 2F2E 0008 move.l -[A7], [A6 + 0x8]
000034A4 486D FB66 pea.l [A5 - 0x49A]
000034A8 4EBA 0F68 jsr [PC + 0xF68 /* 00004412 */]
000034AC 4FEF 000C lea.l A7, [A7 + 0xC]
000034B0 4E5E unlink A6
000034B2 4E75 rts
fn000034B4:
000034B4 4E56 0000 link A6, 0
000034B8 4AAE 000C tst.l [A6 + 0xC]
000034BC 6604 bne +0x6 /* 000034C2 */
000034BE 7002 moveq.l D0, 0x02
000034C0 6002 bra +0x4 /* 000034C4 */
label000034C2:
000034C2 7000 moveq.l D0, 0x00
label000034C4:
000034C4 4878 0200 push.l 0x200
000034C8 3F00 move.w -[A7], D0
000034CA 2F2E 000C move.l -[A7], [A6 + 0xC]
000034CE 2F2E 0008 move.l -[A7], [A6 + 0x8]
000034D2 4EBA 000A jsr [PC + 0xA /* 000034DE */]
000034D6 4FEF 000E lea.l A7, [A7 + 0xE]
000034DA 4E5E unlink A6
000034DC 4E75 rts
fn000034DE:
000034DE 4E56 FFFE link A6, -0x0002
000034E2 2F0C move.l -[A7], A4
000034E4 286E 0008 movea.l A4, [A6 + 0x8]
000034E8 426E FFFE clr.w [A6 - 0x2]
000034EC 2F0C move.l -[A7], A4
000034EE 4EBA 1AD4 jsr [PC + 0x1AD4 /* 00004FC4 */]
000034F2 588F addq.l A7, 4
000034F4 302E 0010 move.w D0, [A6 + 0x10]
000034F8 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
000034FC 0000 0002 ori.b D0, 0x2
00003500 003C 0016 ori.b ccr, 22
00003504 0014 0002 ori.b [A4], 0x2
00003508 41EC 0002 lea.l A0, [A4 + 0x2]
0000350C 2D48 000C move.l [A6 + 0xC], A0
00003510 7001 moveq.l D0, 0x01
00003512 2D40 0012 move.l [A6 + 0x12], D0
00003516 6028 bra +0x2A /* 00003540 */
00003518 4AAE 0012 tst.l [A6 + 0x12]
0000351C 671E beq +0x20 /* 0000353C */
0000351E 4AAE 000C tst.l [A6 + 0xC]
00003522 661C bne +0x1E /* 00003540 */
00003524 7001 moveq.l D0, 0x01
00003526 3D40 FFFE move.w [A6 - 0x2], D0
0000352A 2F2E 0012 move.l -[A7], [A6 + 0x12]
0000352E 4EBA CAD0 jsr [PC - 0x3530 /* 00000000 */]
00003532 588F addq.l A7, 4
00003534 2D40 000C move.l [A6 + 0xC], D0
00003538 4A80 tst.l D0
0000353A 6604 bne +0x6 /* 00003540 */
label0000353C:
0000353C 70FF moveq.l D0, 0xFFFFFFFF
0000353E 6034 bra +0x36 /* 00003574 */
label00003540:
00003540 0814 0002 btst.b [A4], 0x2
00003544 670E beq +0x10 /* 00003554 */
00003546 2F2C 0006 move.l -[A7], [A4 + 0x6]
0000354A 4EBA CC88 jsr [PC - 0x3378 /* 000001D4 */]
0000354E 588F addq.l A7, 4
00003550 0894 0002 bclr.b [A4], 0x2
label00003554:
00003554 4A6E FFFE tst.w [A6 - 0x2]
00003558 6704 beq +0x6 /* 0000355E */
0000355A 08D4 0002 bset.b [A4], 0x2
label0000355E:
0000355E 296E 000C 0006 move.l [A4 + 0x6], [A6 + 0xC]
00003564 296E 0012 000A move.l [A4 + 0xA], [A6 + 0x12]
0000356A 2F0C move.l -[A7], A4
0000356C 4EBA D0A0 jsr [PC - 0x2F60 /* 0000060E */]
00003570 588F addq.l A7, 4
00003572 7000 moveq.l D0, 0x00
label00003574:
00003574 285F movea.l A4, [A7]+
00003576 4E5E unlink A6
00003578 4E75 rts
export_31:
fn0000357A:
0000357A 4E56 FFFC link A6, -0x0004
0000357E 2F0C move.l -[A7], A4
00003580 286E 0008 movea.l A4, [A6 + 0x8]
00003584 200C move.l D0, A4
00003586 6712 beq +0x14 /* 0000359A */
00003588 2F0C move.l -[A7], A4
0000358A 4EBA 1A38 jsr [PC + 0x1A38 /* 00004FC4 */]
0000358E 588F addq.l A7, 4
00003590 2F0C move.l -[A7], A4
00003592 4EBA D02A jsr [PC - 0x2FD6 /* 000005BE */]
00003596 588F addq.l A7, 4
00003598 603E bra +0x40 /* 000035D8 */
label0000359A:
0000359A 426E FFFE clr.w [A6 - 0x2]
0000359E 41ED FB66 lea.l A0, [A5 - 0x49A]
000035A2 2848 movea.l A4, A0
000035A4 700F moveq.l D0, 0x0F
000035A6 3D40 FFFC move.w [A6 - 0x4], D0
000035AA 601C bra +0x1E /* 000035C8 */
label000035AC:
000035AC 0814 0003 btst.b [A4], 0x3
000035B0 6712 beq +0x14 /* 000035C4 */
000035B2 2F0C move.l -[A7], A4
000035B4 4EBA D008 jsr [PC - 0x2FF8 /* 000005BE */]
000035B8 588F addq.l A7, 4
000035BA 4A40 tst.w D0
000035BC 6706 beq +0x8 /* 000035C4 */
000035BE 70FF moveq.l D0, 0xFFFFFFFF
000035C0 3D40 FFFE move.w [A6 - 0x2], D0
label000035C4:
000035C4 49EC 0026 lea.l A4, [A4 + 0x26]
label000035C8:
000035C8 302E FFFC move.w D0, [A6 - 0x4]
000035CC 536E FFFC subq.w [A6 - 0x4], 1
000035D0 4A40 tst.w D0
000035D2 66D8 bne -0x26 /* 000035AC */
000035D4 302E FFFE move.w D0, [A6 - 0x2]
label000035D8:
000035D8 285F movea.l A4, [A7]+
000035DA 4E5E unlink A6
000035DC 4E75 rts
export_29:
fn000035DE:
000035DE 4E56 FFFE link A6, -0x0002
000035E2 2F0C move.l -[A7], A4
000035E4 286E 0008 movea.l A4, [A6 + 0x8]
000035E8 426E FFFE clr.w [A6 - 0x2]
000035EC 0894 0007 bclr.b [A4], 0x7
000035F0 4A6C 0004 tst.w [A4 + 0x4]
000035F4 6744 beq +0x46 /* 0000363A */
000035F6 2F0C move.l -[A7], A4
000035F8 4EBA CFC4 jsr [PC - 0x303C /* 000005BE */]
000035FC 588F addq.l A7, 4
000035FE 4A40 tst.w D0
00003600 6706 beq +0x8 /* 00003608 */
00003602 70FF moveq.l D0, 0xFFFFFFFF
00003604 3D40 FFFE move.w [A6 - 0x2], D0
label00003608:
00003608 2F0C move.l -[A7], A4
0000360A 4EBA 1B98 jsr [PC + 0x1B98 /* 000051A4 */]
0000360E 588F addq.l A7, 4
00003610 4A40 tst.w D0
00003612 6706 beq +0x8 /* 0000361A */
00003614 70FF moveq.l D0, 0xFFFFFFFF
00003616 3D40 FFFE move.w [A6 - 0x2], D0
label0000361A:
0000361A 0814 0002 btst.b [A4], 0x2
0000361E 670A beq +0xC /* 0000362A */
00003620 2F2C 0006 move.l -[A7], [A4 + 0x6]
00003624 4EBA CBAE jsr [PC - 0x3452 /* 000001D4 */]
00003628 588F addq.l A7, 4
label0000362A:
0000362A 4878 0026 push.l 0x26 /* '&' */
0000362E 4267 clr.w -[A7]
00003630 2F0C move.l -[A7], A4
00003632 4EBA 008E jsr [PC + 0x8E /* 000036C2 */]
00003636 4FEF 000A lea.l A7, [A7 + 0xA]
label0000363A:
0000363A 302E FFFE move.w D0, [A6 - 0x2]
0000363E 285F movea.l A4, [A7]+
00003640 4E5E unlink A6
00003642 4E75 rts
fn00003644:
00003644 202F 0004 move.l D0, [A7 + 0x4]
00003648 2040 movea.l A0, D0
0000364A 226F 0008 movea.l A1, [A7 + 0x8]
0000364E 222F 000C move.l D1, [A7 + 0xC]
00003652 6004 bra +0x6 /* 00003658 */
label00003654:
00003654 10D9 move.b [A0]+, [A1]+
00003656 5381 subq.l D1, 1
label00003658:
00003658 66FA bne -0x4 /* 00003654 */
0000365A 4E75 rts
fn0000365C:
0000365C 202F 0004 move.l D0, [A7 + 0x4]
00003660 2040 movea.l A0, D0
00003662 226F 0008 movea.l A1, [A7 + 0x8]
00003666 222F 000C move.l D1, [A7 + 0xC]
0000366A 6716 beq +0x18 /* 00003682 */
0000366C B3C8 cmpa.l A1, A0
0000366E 620C bhi +0xE /* 0000367C */
00003670 D1C1 add.l A0, D1
00003672 D3C1 add.l A1, D1
label00003674:
00003674 1121 move.b -[A0], -[A1]
00003676 5381 subq.l D1, 1
00003678 66FA bne -0x4 /* 00003674 */
0000367A 4E75 rts
label0000367C:
0000367C 10D9 move.b [A0]+, [A1]+
0000367E 5381 subq.l D1, 1
00003680 66FA bne -0x4 /* 0000367C */
label00003682:
00003682 4E75 rts
00003684 7000 moveq.l D0, 0x00
00003686 206F 0004 movea.l A0, [A7 + 0x4]
0000368A 226F 0008 movea.l A1, [A7 + 0x8]
0000368E 222F 000C move.l D1, [A7 + 0xC]
00003692 6002 bra +0x4 /* 00003696 */
label00003694:
00003694 5381 subq.l D1, 1
label00003696:
00003696 670A beq +0xC /* 000036A2 */
00003698 B308 cmpm.b [A1]+, [A0]+
0000369A 67F8 beq -0x6 /* 00003694 */
0000369C 6502 bcs +0x4 /* 000036A0 */
0000369E 5580 subq.l D0, 2
label000036A0:
000036A0 5280 addq.l D0, 1
label000036A2:
000036A2 4E75 rts
fn000036A4:
000036A4 7001 moveq.l D0, 0x01
000036A6 206F 0004 movea.l A0, [A7 + 0x4]
000036AA 322F 0008 move.w D1, [A7 + 0x8]
000036AE 242F 000A move.l D2, [A7 + 0xA]
000036B2 6002 bra +0x4 /* 000036B6 */
label000036B4:
000036B4 5382 subq.l D2, 1
label000036B6:
000036B6 6706 beq +0x8 /* 000036BE */
000036B8 B218 cmp.b D1, [A0]+
000036BA 66F8 bne -0x6 /* 000036B4 */
000036BC 2008 move.l D0, A0
label000036BE:
000036BE 5380 subq.l D0, 1
000036C0 4E75 rts
fn000036C2:
000036C2 202F 0004 move.l D0, [A7 + 0x4]
000036C6 2040 movea.l A0, D0
000036C8 322F 0008 move.w D1, [A7 + 0x8]
000036CC 242F 000A move.l D2, [A7 + 0xA]
000036D0 6004 bra +0x6 /* 000036D6 */
label000036D2:
000036D2 10C1 move.b [A0]+, D1
000036D4 5382 subq.l D2, 1
label000036D6:
000036D6 66FA bne -0x4 /* 000036D2 */
000036D8 4E75 rts
fn000036DA:
000036DA 4E56 FDD0 link A6, -0x0230
000036DE 48E7 1F08 movem.l -[A7], D3,D4,D5,D6,D7,A4
000036E2 7800 moveq.l D4, 0x00
000036E4 206E 000C movea.l A0, [A6 + 0xC]
000036E8 1010 move.b D0, [A0]
000036EA 4880 ext.w D0
000036EC 3E00 move.w D7, D0
000036EE 6000 08F4 bra +0x8F6 /* 00003FE4 */
label000036F2:
000036F2 0C47 0025 cmpi.w D7, 0x25 /* '%' */
000036F6 6600 07C4 bne +0x7C6 /* 00003EBC */
000036FA 41EE FDF0 lea.l A0, [A6 - 0x210]
000036FE 43ED FDA0 lea.l A1, [A5 - 0x260]
00003702 20D9 move.l [A0]+, [A1]+
00003704 20D9 move.l [A0]+, [A1]+
label00003706:
00003706 52AE 000C addq.l [A6 + 0xC], 1
0000370A 206E 000C movea.l A0, [A6 + 0xC]
0000370E 1010 move.b D0, [A0]
00003710 4880 ext.w D0
00003712 3E00 move.w D7, D0
00003714 0C47 002D cmpi.w D7, 0x2D /* '-' */
00003718 6608 bne +0xA /* 00003722 */
0000371A 08EE 0007 FDF0 bset.b [A6 - 0x210], 0x7
00003720 60E4 bra -0x1A /* 00003706 */
label00003722:
00003722 0C47 002B cmpi.w D7, 0x2B /* '+' */
00003726 6608 bne +0xA /* 00003730 */
00003728 08EE 0006 FDF0 bset.b [A6 - 0x210], 0x6
0000372E 60D6 bra -0x28 /* 00003706 */
label00003730:
00003730 0C47 0020 cmpi.w D7, 0x20 /* ' ' */
00003734 6608 bne +0xA /* 0000373E */
00003736 7020 moveq.l D0, 0x20
00003738 1D40 FDF2 move.b [A6 - 0x20E], D0
0000373C 60C8 bra -0x36 /* 00003706 */
label0000373E:
0000373E 0C47 0023 cmpi.w D7, 0x23 /* '#' */
00003742 6608 bne +0xA /* 0000374C */
00003744 08EE 0005 FDF0 bset.b [A6 - 0x210], 0x5
0000374A 60BA bra -0x44 /* 00003706 */
label0000374C:
0000374C 0C47 0030 cmpi.w D7, 0x30 /* '0' */
00003750 6608 bne +0xA /* 0000375A */
00003752 08EE 0004 FDF0 bset.b [A6 - 0x210], 0x4
00003758 60AC bra -0x52 /* 00003706 */
label0000375A:
0000375A 0C47 002A cmpi.w D7, 0x2A /* '*' */
0000375E 6652 bne +0x54 /* 000037B2 */
00003760 206E 0010 movea.l A0, [A6 + 0x10]
00003764 54AE 0010 addq.l [A6 + 0x10], 2
00003768 3010 move.w D0, [A0]
0000376A 3D40 FDF4 move.w [A6 - 0x20C], D0
0000376E 4A40 tst.w D0
00003770 6C10 bge +0x12 /* 00003782 */
00003772 08EE 0007 FDF0 bset.b [A6 - 0x210], 0x7
00003778 302E FDF4 move.w D0, [A6 - 0x20C]
0000377C 4440 neg.w D0
0000377E 3D40 FDF4 move.w [A6 - 0x20C], D0
label00003782:
00003782 52AE 000C addq.l [A6 + 0xC], 1
00003786 206E 000C movea.l A0, [A6 + 0xC]
0000378A 1010 move.b D0, [A0]
0000378C 4880 ext.w D0
0000378E 3E00 move.w D7, D0
00003790 602C bra +0x2E /* 000037BE */
label00003792:
00003792 302E FDF4 move.w D0, [A6 - 0x20C]
00003796 C1FC 000A muls.w D0, 0xA /* '\n' */
0000379A D047 add.w D0, D7
0000379C 0640 FFD0 addi.w D0, 0xFFD0
000037A0 3D40 FDF4 move.w [A6 - 0x20C], D0
000037A4 52AE 000C addq.l [A6 + 0xC], 1
000037A8 206E 000C movea.l A0, [A6 + 0xC]
000037AC 1010 move.b D0, [A0]
000037AE 4880 ext.w D0
000037B0 3E00 move.w D7, D0
label000037B2:
000037B2 0C47 0030 cmpi.w D7, 0x30 /* '0' */
000037B6 6D06 blt +0x8 /* 000037BE */
000037B8 0C47 0039 cmpi.w D7, 0x39 /* '9' */
000037BC 6FD4 ble -0x2A /* 00003792 */
label000037BE:
000037BE 0C47 002E cmpi.w D7, 0x2E /* '.' */
000037C2 6600 006A bne +0x6C /* 0000382E */
000037C6 52AE 000C addq.l [A6 + 0xC], 1
000037CA 206E 000C movea.l A0, [A6 + 0xC]
000037CE 1010 move.b D0, [A0]
000037D0 4880 ext.w D0
000037D2 3E00 move.w D7, D0
000037D4 0C40 002A cmpi.w D0, 0x2A /* '*' */
000037D8 663C bne +0x3E /* 00003816 */
000037DA 206E 0010 movea.l A0, [A6 + 0x10]
000037DE 54AE 0010 addq.l [A6 + 0x10], 2
000037E2 3D50 FDF6 move.w [A6 - 0x20A], [A0]
000037E6 52AE 000C addq.l [A6 + 0xC], 1
000037EA 206E 000C movea.l A0, [A6 + 0xC]
000037EE 1010 move.b D0, [A0]
000037F0 4880 ext.w D0
000037F2 3E00 move.w D7, D0
000037F4 602C bra +0x2E /* 00003822 */
label000037F6:
000037F6 302E FDF6 move.w D0, [A6 - 0x20A]
000037FA C1FC 000A muls.w D0, 0xA /* '\n' */
000037FE D047 add.w D0, D7
00003800 0640 FFD0 addi.w D0, 0xFFD0
00003804 3D40 FDF6 move.w [A6 - 0x20A], D0
00003808 52AE 000C addq.l [A6 + 0xC], 1
0000380C 206E 000C movea.l A0, [A6 + 0xC]
00003810 1010 move.b D0, [A0]
00003812 4880 ext.w D0
00003814 3E00 move.w D7, D0
label00003816:
00003816 0C47 0030 cmpi.w D7, 0x30 /* '0' */
0000381A 6D06 blt +0x8 /* 00003822 */
0000381C 0C47 0039 cmpi.w D7, 0x39 /* '9' */
00003820 6FD4 ble -0x2A /* 000037F6 */
label00003822:
00003822 4A6E FDF6 tst.w [A6 - 0x20A]
00003826 6D06 blt +0x8 /* 0000382E */
00003828 08EE 0003 FDF0 bset.b [A6 - 0x210], 0x3
label0000382E:
0000382E 284E movea.l A4, A6
00003830 082E 0007 FDF0 btst.b [A6 - 0x210], 0x7
00003836 6706 beq +0x8 /* 0000383E */
00003838 08AE 0004 FDF0 bclr.b [A6 - 0x210], 0x4
label0000383E:
0000383E 3007 move.w D0, D7
00003840 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
00003844 0045 0078 ori.w D5, 0x78 /* 'x' */
00003848 066C 0374 0668 addi.w [A4 + 0x668], 0x374
0000384E 03BA 0664 bclr [PC + 0x664 /* 00003EB4, value 0xC470025 */], D1
00003852 0662 0660 addi.w -[A2], 0x660
00003856 065E 008A addi.w [A6]+, 0x8A
0000385A 065A 0658 addi.w [A2]+, 0x658
0000385E 0656 0654 addi.w [A6], 0x654
00003862 0652 0650 addi.w [A2], 0x650
00003866 064E 064C addi.w A6, 0x64C
0000386A 064A 0648 addi.w A2, 0x648
0000386E 0646 023C addi.w D6, 0x23C
00003872 0642 0640 addi.w D2, 0x640
00003876 063E 063C addi.b <<invalid special address>>, 0x3C /* '<' */
0000387A 063A 0638 0636 addi.b [PC + 0x636 /* 00003EB2, value 0x1 */], 0x38 /* '8' */
00003880 0634 0632 0630 addi.b [A4 + D0.w * 8 + 0x30], 0x32 /* '2' */
00003886 0572 0072 bchg [A2 + D0.w + 0x72], D2
0000388A 0334 02DA btst [A4 + D0.w * 2 - 0x38], D1
0000388E 037A 0022 bchg [PC + 0x22 /* 000038B2, value 0x8EE */], D1
00003892 0068 0620 061E ori.w [A0 + 0x61E], 0x620
00003898 0032 061A 05EA 015C 01FA ori.b [[0x15C] + 0x1FA], 0x1A
000038A2 0612 0610 addi.b [A2], 0x10
000038A6 0566 bchg -[A6], D2
000038A8 060C 00A0 addi.b A4, 0xA0
000038AC 0608 0606 addi.b A0, 0x6
000038B0 0206 08EE andi.b D6, 0xEE
000038B4 0002 FDF0 ori.b D2, 0xF0
000038B8 52AE 000C addq.l [A6 + 0xC], 1
000038BC 206E 000C movea.l A0, [A6 + 0xC]
000038C0 1010 move.b D0, [A0]
000038C2 4880 ext.w D0
000038C4 3E00 move.w D7, D0
000038C6 6000 FF76 bra -0x88 /* 0000383E */
000038CA 08EE 0001 FDF0 bset.b [A6 - 0x210], 0x1
000038D0 52AE 000C addq.l [A6 + 0xC], 1
000038D4 206E 000C movea.l A0, [A6 + 0xC]
000038D8 1010 move.b D0, [A0]
000038DA 4880 ext.w D0
000038DC 3E00 move.w D7, D0
000038DE 6000 FF5E bra -0xA0 /* 0000383E */
000038E2 08EE 0000 FDF0 bset.b [A6 - 0x210], 0x0
000038E8 52AE 000C addq.l [A6 + 0xC], 1
000038EC 206E 000C movea.l A0, [A6 + 0xC]
000038F0 1010 move.b D0, [A0]
000038F2 4880 ext.w D0
000038F4 3E00 move.w D7, D0
000038F6 6000 FF46 bra -0xB8 /* 0000383E */
000038FA 082E 0001 FDF0 btst.b [A6 - 0x210], 0x1
00003900 670C beq +0xE /* 0000390E */
00003902 206E 0010 movea.l A0, [A6 + 0x10]
00003906 58AE 0010 addq.l [A6 + 0x10], 4
0000390A 2610 move.l D3, [A0]
0000390C 600C bra +0xE /* 0000391A */
label0000390E:
0000390E 206E 0010 movea.l A0, [A6 + 0x10]
00003912 54AE 0010 addq.l [A6 + 0x10], 2
00003916 3050 movea.w A0, [A0]
00003918 2608 move.l D3, A0
label0000391A:
0000391A 082E 0002 FDF0 btst.b [A6 - 0x210], 0x2
00003920 6704 beq +0x6 /* 00003926 */
00003922 3043 movea.w A0, D3
00003924 2608 move.l D3, A0
label00003926:
00003926 4A83 tst.l D3
00003928 6C10 bge +0x12 /* 0000393A */
0000392A 2003 move.l D0, D3
0000392C 4480 neg.l D0
0000392E 2600 move.l D3, D0
00003930 702D moveq.l D0, 0x2D
00003932 1D40 FDF2 move.b [A6 - 0x20E], D0
00003936 6000 0046 bra +0x48 /* 0000397E */
label0000393A:
0000393A 082E 0006 FDF0 btst.b [A6 - 0x210], 0x6
00003940 673C beq +0x3E /* 0000397E */
00003942 702B moveq.l D0, 0x2B
00003944 1D40 FDF2 move.b [A6 - 0x20E], D0
00003948 6034 bra +0x36 /* 0000397E */
0000394A 082E 0001 FDF0 btst.b [A6 - 0x210], 0x1
00003950 670C beq +0xE /* 0000395E */
00003952 206E 0010 movea.l A0, [A6 + 0x10]
00003956 58AE 0010 addq.l [A6 + 0x10], 4
0000395A 2610 move.l D3, [A0]
0000395C 600E bra +0x10 /* 0000396C */
label0000395E:
0000395E 206E 0010 movea.l A0, [A6 + 0x10]
00003962 54AE 0010 addq.l [A6 + 0x10], 2
00003966 7000 moveq.l D0, 0x00
00003968 3010 move.w D0, [A0]
0000396A 2600 move.l D3, D0
label0000396C:
0000396C 082E 0002 FDF0 btst.b [A6 - 0x210], 0x2
00003972 6706 beq +0x8 /* 0000397A */
00003974 7000 moveq.l D0, 0x00
00003976 3003 move.w D0, D3
00003978 2600 move.l D3, D0
label0000397A:
0000397A 422E FDF2 clr.b [A6 - 0x20E]
label0000397E:
0000397E 082E 0003 FDF0 btst.b [A6 - 0x210], 0x3
00003984 6626 bne +0x28 /* 000039AC */
00003986 082E 0004 FDF0 btst.b [A6 - 0x210], 0x4
0000398C 6710 beq +0x12 /* 0000399E */
0000398E 3D6E FDF4 FDF6 move.w [A6 - 0x20A], [A6 - 0x20C]
00003994 4A2E FDF2 tst.b [A6 - 0x20E]
00003998 6704 beq +0x6 /* 0000399E */
0000399A 536E FDF6 subq.w [A6 - 0x20A], 1
label0000399E:
0000399E 0C6E 0001 FDF6 cmpi.w [A6 - 0x20A], 0x1
000039A4 6C06 bge +0x8 /* 000039AC */
000039A6 7001 moveq.l D0, 0x01
000039A8 3D40 FDF6 move.w [A6 - 0x20A], D0
label000039AC:
000039AC 7C00 moveq.l D6, 0x00
000039AE 6022 bra +0x24 /* 000039D2 */
label000039B0:
000039B0 538C subq.l A4, 1
000039B2 4878 000A push.l 0xA /* '\n' */
000039B6 2F03 move.l -[A7], D3
000039B8 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
000039BC 0680 0000 0030 addi.l D0, 0x30 /* '0' */
000039C2 1880 move.b [A4], D0
000039C4 4878 000A push.l 0xA /* '\n' */
000039C8 2F03 move.l -[A7], D3
000039CA 4EAD 004A jsr [A5 + 0x4A /* export_5 */]
000039CE 2600 move.l D3, D0
000039D0 5246 addq.w D6, 1
label000039D2:
000039D2 4A83 tst.l D3
000039D4 66DA bne -0x24 /* 000039B0 */
000039D6 6008 bra +0xA /* 000039E0 */
label000039D8:
000039D8 538C subq.l A4, 1
000039DA 7030 moveq.l D0, 0x30
000039DC 1880 move.b [A4], D0
000039DE 5246 addq.w D6, 1
label000039E0:
000039E0 BC6E FDF6 cmp.w D6, [A6 - 0x20A]
000039E4 6DF2 blt -0xC /* 000039D8 */
000039E6 4A2E FDF2 tst.b [A6 - 0x20E]
000039EA 6700 0516 beq +0x518 /* 00003F02 */
000039EE 538C subq.l A4, 1
000039F0 18AE FDF2 move.b [A4], [A6 - 0x20E]
000039F4 5246 addq.w D6, 1
000039F6 6000 050A bra +0x50C /* 00003F02 */
000039FA 082E 0001 FDF0 btst.b [A6 - 0x210], 0x1
00003A00 670C beq +0xE /* 00003A0E */
00003A02 206E 0010 movea.l A0, [A6 + 0x10]
00003A06 58AE 0010 addq.l [A6 + 0x10], 4
00003A0A 2610 move.l D3, [A0]
00003A0C 600E bra +0x10 /* 00003A1C */
label00003A0E:
00003A0E 206E 0010 movea.l A0, [A6 + 0x10]
00003A12 54AE 0010 addq.l [A6 + 0x10], 2
00003A16 7000 moveq.l D0, 0x00
00003A18 3010 move.w D0, [A0]
00003A1A 2600 move.l D3, D0
label00003A1C:
00003A1C 082E 0002 FDF0 btst.b [A6 - 0x210], 0x2
00003A22 6706 beq +0x8 /* 00003A2A */
00003A24 7000 moveq.l D0, 0x00
00003A26 3003 move.w D0, D3
00003A28 2600 move.l D3, D0
label00003A2A:
00003A2A 082E 0003 FDF0 btst.b [A6 - 0x210], 0x3
00003A30 661C bne +0x1E /* 00003A4E */
00003A32 082E 0004 FDF0 btst.b [A6 - 0x210], 0x4
00003A38 6706 beq +0x8 /* 00003A40 */
00003A3A 3D6E FDF4 FDF6 move.w [A6 - 0x20A], [A6 - 0x20C]
label00003A40:
00003A40 0C6E 0001 FDF6 cmpi.w [A6 - 0x20A], 0x1
00003A46 6C06 bge +0x8 /* 00003A4E */
00003A48 7001 moveq.l D0, 0x01
00003A4A 3D40 FDF6 move.w [A6 - 0x20A], D0
label00003A4E:
00003A4E 7C00 moveq.l D6, 0x00
00003A50 6016 bra +0x18 /* 00003A68 */
label00003A52:
00003A52 538C subq.l A4, 1
00003A54 2003 move.l D0, D3
00003A56 0280 0000 0007 andi.l D0, 0x7
00003A5C 0680 0000 0030 addi.l D0, 0x30 /* '0' */
00003A62 1880 move.b [A4], D0
00003A64 E68B lsr D3, 3
00003A66 5246 addq.w D6, 1
label00003A68:
00003A68 4A83 tst.l D3
00003A6A 66E6 bne -0x18 /* 00003A52 */
00003A6C 082E 0005 FDF0 btst.b [A6 - 0x210], 0x5
00003A72 671C beq +0x1E /* 00003A90 */
00003A74 4A46 tst.w D6
00003A76 6718 beq +0x1A /* 00003A90 */
00003A78 0C14 0030 cmpi.b [A4], 0x30 /* '0' */
00003A7C 6712 beq +0x14 /* 00003A90 */
00003A7E 538C subq.l A4, 1
00003A80 7030 moveq.l D0, 0x30
00003A82 1880 move.b [A4], D0
00003A84 5246 addq.w D6, 1
00003A86 6008 bra +0xA /* 00003A90 */
label00003A88:
00003A88 538C subq.l A4, 1
00003A8A 7030 moveq.l D0, 0x30
00003A8C 1880 move.b [A4], D0
00003A8E 5246 addq.w D6, 1
label00003A90:
00003A90 BC6E FDF6 cmp.w D6, [A6 - 0x20A]
00003A94 6DF2 blt -0xC /* 00003A88 */
00003A96 6000 046A bra +0x46C /* 00003F02 */
00003A9A 08EE 0001 FDF0 bset.b [A6 - 0x210], 0x1
00003AA0 08EE 0003 FDF0 bset.b [A6 - 0x210], 0x3
00003AA6 7008 moveq.l D0, 0x08
00003AA8 3D40 FDF6 move.w [A6 - 0x20A], D0
00003AAC 41ED FDA8 lea.l A0, [A5 - 0x258]
00003AB0 2D48 FDFC move.l [A6 - 0x204], A0
00003AB4 6008 bra +0xA /* 00003ABE */
00003AB6 41ED FDBA lea.l A0, [A5 - 0x246]
00003ABA 2D48 FDFC move.l [A6 - 0x204], A0
label00003ABE:
00003ABE 082E 0001 FDF0 btst.b [A6 - 0x210], 0x1
00003AC4 670C beq +0xE /* 00003AD2 */
00003AC6 206E 0010 movea.l A0, [A6 + 0x10]
00003ACA 58AE 0010 addq.l [A6 + 0x10], 4
00003ACE 2610 move.l D3, [A0]
00003AD0 600E bra +0x10 /* 00003AE0 */
label00003AD2:
00003AD2 206E 0010 movea.l A0, [A6 + 0x10]
00003AD6 54AE 0010 addq.l [A6 + 0x10], 2
00003ADA 7000 moveq.l D0, 0x00
00003ADC 3010 move.w D0, [A0]
00003ADE 2600 move.l D3, D0
label00003AE0:
00003AE0 082E 0002 FDF0 btst.b [A6 - 0x210], 0x2
00003AE6 6706 beq +0x8 /* 00003AEE */
00003AE8 7000 moveq.l D0, 0x00
00003AEA 3003 move.w D0, D3
00003AEC 2600 move.l D3, D0
label00003AEE:
00003AEE 082E 0003 FDF0 btst.b [A6 - 0x210], 0x3
00003AF4 6628 bne +0x2A /* 00003B1E */
00003AF6 082E 0004 FDF0 btst.b [A6 - 0x210], 0x4
00003AFC 6712 beq +0x14 /* 00003B10 */
00003AFE 3D6E FDF4 FDF6 move.w [A6 - 0x20A], [A6 - 0x20C]
00003B04 082E 0005 FDF0 btst.b [A6 - 0x210], 0x5
00003B0A 6704 beq +0x6 /* 00003B10 */
00003B0C 556E FDF6 subq.w [A6 - 0x20A], 2
label00003B10:
00003B10 0C6E 0001 FDF6 cmpi.w [A6 - 0x20A], 0x1
00003B16 6C06 bge +0x8 /* 00003B1E */
00003B18 7001 moveq.l D0, 0x01
00003B1A 3D40 FDF6 move.w [A6 - 0x20A], D0
label00003B1E:
00003B1E 7C00 moveq.l D6, 0x00
00003B20 6016 bra +0x18 /* 00003B38 */
label00003B22:
00003B22 538C subq.l A4, 1
00003B24 2003 move.l D0, D3
00003B26 0280 0000 000F andi.l D0, 0xF
00003B2C D0AE FDFC add.l D0, [A6 - 0x204]
00003B30 2040 movea.l A0, D0
00003B32 1890 move.b [A4], [A0]
00003B34 E88B lsr D3, 4
00003B36 5246 addq.w D6, 1
label00003B38:
00003B38 4A83 tst.l D3
00003B3A 66E6 bne -0x18 /* 00003B22 */
00003B3C 6008 bra +0xA /* 00003B46 */
label00003B3E:
00003B3E 538C subq.l A4, 1
00003B40 7030 moveq.l D0, 0x30
00003B42 1880 move.b [A4], D0
00003B44 5246 addq.w D6, 1
label00003B46:
00003B46 BC6E FDF6 cmp.w D6, [A6 - 0x20A]
00003B4A 6DF2 blt -0xC /* 00003B3E */
00003B4C 082E 0005 FDF0 btst.b [A6 - 0x210], 0x5
00003B52 6700 03AE beq +0x3B0 /* 00003F02 */
00003B56 538C subq.l A4, 1
00003B58 1887 move.b [A4], D7
00003B5A 538C subq.l A4, 1
00003B5C 7030 moveq.l D0, 0x30
00003B5E 1880 move.b [A4], D0
00003B60 5446 addq.w D6, 2
00003B62 6000 039E bra +0x3A0 /* 00003F02 */
00003B66 082E 0003 FDF0 btst.b [A6 - 0x210], 0x3
00003B6C 6606 bne +0x8 /* 00003B74 */
00003B6E 7006 moveq.l D0, 0x06
00003B70 3D40 FDF6 move.w [A6 - 0x20A], D0
label00003B74:
00003B74 2F2E 0010 move.l -[A7], [A6 + 0x10]
00003B78 486E FDD0 pea.l [A6 - 0x230]
00003B7C 3F2E FDF6 move.w -[A7], [A6 - 0x20A]
00003B80 3F3C 0001 move.w -[A7], 0x1
00003B84 4EBA 046E jsr [PC + 0x46E /* 00003FF4 */]
00003B88 4FEF 000C lea.l A7, [A7 + 0xC]
00003B8C 102E FDD4 move.b D0, [A6 - 0x22C]
00003B90 4880 ext.w D0
00003B92 D06E FDD2 add.w D0, [A6 - 0x22E]
00003B96 3D40 FDEC move.w [A6 - 0x214], D0
00003B9A 302E FDEC move.w D0, [A6 - 0x214]
00003B9E 3D40 FDEA move.w [A6 - 0x216], D0
00003BA2 0C40 0001 cmpi.w D0, 0x1
00003BA6 6F06 ble +0x8 /* 00003BAE */
00003BA8 7001 moveq.l D0, 0x01
00003BAA 3D40 FDEA move.w [A6 - 0x216], D0
label00003BAE:
00003BAE 302E FDEC move.w D0, [A6 - 0x214]
00003BB2 D06E FDF6 add.w D0, [A6 - 0x20A]
00003BB6 3D40 FDEE move.w [A6 - 0x212], D0
00003BBA 6000 00F8 bra +0xFA /* 00003CB4 */
00003BBE 082E 0003 FDF0 btst.b [A6 - 0x210], 0x3
00003BC4 6606 bne +0x8 /* 00003BCC */
00003BC6 7006 moveq.l D0, 0x06
00003BC8 3D40 FDF6 move.w [A6 - 0x20A], D0
label00003BCC:
00003BCC 1D47 FDF3 move.b [A6 - 0x20D], D7
00003BD0 302E FDF6 move.w D0, [A6 - 0x20A]
00003BD4 5240 addq.w D0, 1
00003BD6 3D40 FDEE move.w [A6 - 0x212], D0
00003BDA 2F2E 0010 move.l -[A7], [A6 + 0x10]
00003BDE 486E FDD0 pea.l [A6 - 0x230]
00003BE2 3F00 move.w -[A7], D0
00003BE4 4267 clr.w -[A7]
00003BE6 4EBA 040C jsr [PC + 0x40C /* 00003FF4 */]
00003BEA 4FEF 000C lea.l A7, [A7 + 0xC]
00003BEE 7001 moveq.l D0, 0x01
00003BF0 3D40 FDEC move.w [A6 - 0x214], D0
00003BF4 3D40 FDEA move.w [A6 - 0x216], D0
00003BF8 102E FDD4 move.b D0, [A6 - 0x22C]
00003BFC 4880 ext.w D0
00003BFE 5340 subq.w D0, 1
00003C00 D16E FDD2 add.w [A6 - 0x22E], D0
00003C04 6000 00AE bra +0xB0 /* 00003CB4 */
00003C08 082E 0003 FDF0 btst.b [A6 - 0x210], 0x3
00003C0E 6608 bne +0xA /* 00003C18 */
00003C10 7006 moveq.l D0, 0x06
00003C12 3D40 FDF6 move.w [A6 - 0x20A], D0
00003C16 600C bra +0xE /* 00003C24 */
label00003C18:
00003C18 4A6E FDF6 tst.w [A6 - 0x20A]
00003C1C 6606 bne +0x8 /* 00003C24 */
00003C1E 7001 moveq.l D0, 0x01
00003C20 3D40 FDF6 move.w [A6 - 0x20A], D0
label00003C24:
00003C24 3007 move.w D0, D7
00003C26 5540 subq.w D0, 2
00003C28 1D40 FDF3 move.b [A6 - 0x20D], D0
00003C2C 302E FDF6 move.w D0, [A6 - 0x20A]
00003C30 3D40 FDEE move.w [A6 - 0x212], D0
00003C34 2F2E 0010 move.l -[A7], [A6 + 0x10]
00003C38 486E FDD0 pea.l [A6 - 0x230]
00003C3C 3F00 move.w -[A7], D0
00003C3E 4267 clr.w -[A7]
00003C40 4EBA 03B2 jsr [PC + 0x3B2 /* 00003FF4 */]
00003C44 4FEF 000C lea.l A7, [A7 + 0xC]
00003C48 7001 moveq.l D0, 0x01
00003C4A 3D40 FDEC move.w [A6 - 0x214], D0
00003C4E 3D40 FDEA move.w [A6 - 0x216], D0
00003C52 102E FDD4 move.b D0, [A6 - 0x22C]
00003C56 4880 ext.w D0
00003C58 5340 subq.w D0, 1
00003C5A D16E FDD2 add.w [A6 - 0x22E], D0
00003C5E 0C6E FFFC FDD2 cmpi.w [A6 - 0x22E], 0xFFFC
00003C64 6D24 blt +0x26 /* 00003C8A */
00003C66 302E FDD2 move.w D0, [A6 - 0x22E]
00003C6A B06E FDF6 cmp.w D0, [A6 - 0x20A]
00003C6E 6C1A bge +0x1C /* 00003C8A */
00003C70 422E FDF3 clr.b [A6 - 0x20D]
00003C74 302E FDD2 move.w D0, [A6 - 0x22E]
00003C78 D16E FDEC add.w [A6 - 0x214], D0
00003C7C 0C6E 0001 FDEC cmpi.w [A6 - 0x214], 0x1
00003C82 6C06 bge +0x8 /* 00003C8A */
00003C84 3D6E FDEC FDEA move.w [A6 - 0x216], [A6 - 0x214]
label00003C8A:
00003C8A 082E 0005 FDF0 btst.b [A6 - 0x210], 0x5
00003C90 6622 bne +0x24 /* 00003CB4 */
00003C92 102E FDD4 move.b D0, [A6 - 0x22C]
00003C96 4880 ext.w D0
00003C98 B06E FDEE cmp.w D0, [A6 - 0x212]
00003C9C 6C16 bge +0x18 /* 00003CB4 */
00003C9E 102E FDD4 move.b D0, [A6 - 0x22C]
00003CA2 4880 ext.w D0
00003CA4 3D40 FDEE move.w [A6 - 0x212], D0
00003CA8 B06E FDEC cmp.w D0, [A6 - 0x214]
00003CAC 6C06 bge +0x8 /* 00003CB4 */
00003CAE 3D6E FDEC FDEE move.w [A6 - 0x212], [A6 - 0x214]
label00003CB4:
00003CB4 0C2E 0039 FDD5 cmpi.b [A6 - 0x22B], 0x39 /* '9' */
00003CBA 6F18 ble +0x1A /* 00003CD4 */
00003CBC 422E FDF3 clr.b [A6 - 0x20D]
00003CC0 426E FDEC clr.w [A6 - 0x214]
00003CC4 7001 moveq.l D0, 0x01
00003CC6 3D40 FDEA move.w [A6 - 0x216], D0
00003CCA 102E FDD4 move.b D0, [A6 - 0x22C]
00003CCE 4880 ext.w D0
00003CD0 3D40 FDEE move.w [A6 - 0x212], D0
label00003CD4:
00003CD4 7C00 moveq.l D6, 0x00
00003CD6 4A2E FDF3 tst.b [A6 - 0x20D]
00003CDA 6700 006A beq +0x6C /* 00003D46 */
00003CDE 4A6E FDD2 tst.w [A6 - 0x22E]
00003CE2 6C0A bge +0xC /* 00003CEE */
00003CE4 302E FDD2 move.w D0, [A6 - 0x22E]
00003CE8 4440 neg.w D0
00003CEA 48C0 ext.l D0
00003CEC 6004 bra +0x6 /* 00003CF2 */
label00003CEE:
00003CEE 302E FDD2 move.w D0, [A6 - 0x22E]
label00003CF2:
00003CF2 48C0 ext.l D0
00003CF4 2600 move.l D3, D0
00003CF6 6022 bra +0x24 /* 00003D1A */
label00003CF8:
00003CF8 538C subq.l A4, 1
00003CFA 4878 000A push.l 0xA /* '\n' */
00003CFE 2F03 move.l -[A7], D3
00003D00 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
00003D04 0680 0000 0030 addi.l D0, 0x30 /* '0' */
00003D0A 1880 move.b [A4], D0
00003D0C 4878 000A push.l 0xA /* '\n' */
00003D10 2F03 move.l -[A7], D3
00003D12 4EAD 004A jsr [A5 + 0x4A /* export_5 */]
00003D16 2600 move.l D3, D0
00003D18 5246 addq.w D6, 1
label00003D1A:
00003D1A 4A83 tst.l D3
00003D1C 66DA bne -0x24 /* 00003CF8 */
00003D1E 6008 bra +0xA /* 00003D28 */
label00003D20:
00003D20 538C subq.l A4, 1
00003D22 7030 moveq.l D0, 0x30
00003D24 1880 move.b [A4], D0
00003D26 5246 addq.w D6, 1
label00003D28:
00003D28 0C46 0002 cmpi.w D6, 0x2
00003D2C 6DF2 blt -0xC /* 00003D20 */
00003D2E 538C subq.l A4, 1
00003D30 4A6E FDD2 tst.w [A6 - 0x22E]
00003D34 6D04 blt +0x6 /* 00003D3A */
00003D36 702B moveq.l D0, 0x2B
00003D38 6002 bra +0x4 /* 00003D3C */
label00003D3A:
00003D3A 702D moveq.l D0, 0x2D
label00003D3C:
00003D3C 1880 move.b [A4], D0
00003D3E 538C subq.l A4, 1
00003D40 18AE FDF3 move.b [A4], [A6 - 0x20D]
00003D44 5446 addq.w D6, 2
label00003D46:
00003D46 3A2E FDEE move.w D5, [A6 - 0x212]
00003D4A BA6E FDEC cmp.w D5, [A6 - 0x214]
00003D4E 660C bne +0xE /* 00003D5C */
00003D50 082E 0005 FDF0 btst.b [A6 - 0x210], 0x5
00003D56 6604 bne +0x6 /* 00003D5C */
00003D58 526E FDEC addq.w [A6 - 0x214], 1
label00003D5C:
00003D5C BA6E FDEC cmp.w D5, [A6 - 0x214]
00003D60 6608 bne +0xA /* 00003D6A */
00003D62 538C subq.l A4, 1
00003D64 702E moveq.l D0, 0x2E
00003D66 1880 move.b [A4], D0
00003D68 5246 addq.w D6, 1
label00003D6A:
00003D6A 538C subq.l A4, 1
00003D6C 4A45 tst.w D5
00003D6E 6F18 ble +0x1A /* 00003D88 */
00003D70 102E FDD4 move.b D0, [A6 - 0x22C]
00003D74 4880 ext.w D0
00003D76 BA40 cmp.w D5, D0
00003D78 6E0E bgt +0x10 /* 00003D88 */
00003D7A 3045 movea.w A0, D5
00003D7C D1CE add.l A0, A6
00003D7E 1028 FDD4 move.b D0, [A0 - 0x22C]
00003D82 4880 ext.w D0
00003D84 48C0 ext.l D0
00003D86 6002 bra +0x4 /* 00003D8A */
label00003D88:
00003D88 7030 moveq.l D0, 0x30
label00003D8A:
00003D8A 1880 move.b [A4], D0
00003D8C 5345 subq.w D5, 1
00003D8E BA6E FDEA cmp.w D5, [A6 - 0x216]
00003D92 6CC8 bge -0x36 /* 00003D5C */
00003D94 302E FDEE move.w D0, [A6 - 0x212]
00003D98 9045 sub.w D0, D5
00003D9A DC40 add.w D6, D0
00003D9C 4A2E FDD0 tst.b [A6 - 0x230]
00003DA0 6708 beq +0xA /* 00003DAA */
00003DA2 702D moveq.l D0, 0x2D
00003DA4 1D40 FDF2 move.b [A6 - 0x20E], D0
00003DA8 600E bra +0x10 /* 00003DB8 */
label00003DAA:
00003DAA 082E 0006 FDF0 btst.b [A6 - 0x210], 0x6
00003DB0 6706 beq +0x8 /* 00003DB8 */
00003DB2 702B moveq.l D0, 0x2B
00003DB4 1D40 FDF2 move.b [A6 - 0x20E], D0
label00003DB8:
00003DB8 082E 0004 FDF0 btst.b [A6 - 0x210], 0x4
00003DBE 671A beq +0x1C /* 00003DDA */
00003DC0 3A2E FDF4 move.w D5, [A6 - 0x20C]
00003DC4 4A2E FDF2 tst.b [A6 - 0x20E]
00003DC8 670C beq +0xE /* 00003DD6 */
00003DCA 5345 subq.w D5, 1
00003DCC 6008 bra +0xA /* 00003DD6 */
label00003DCE:
00003DCE 538C subq.l A4, 1
00003DD0 7030 moveq.l D0, 0x30
00003DD2 1880 move.b [A4], D0
00003DD4 5246 addq.w D6, 1
label00003DD6:
00003DD6 BC45 cmp.w D6, D5
00003DD8 6DF4 blt -0xA /* 00003DCE */
label00003DDA:
00003DDA 4A2E FDF2 tst.b [A6 - 0x20E]
00003DDE 6708 beq +0xA /* 00003DE8 */
00003DE0 538C subq.l A4, 1
00003DE2 18AE FDF2 move.b [A4], [A6 - 0x20E]
00003DE6 5246 addq.w D6, 1
label00003DE8:
00003DE8 206E 0010 movea.l A0, [A6 + 0x10]
00003DEC 06AE 0000 000C 0010 addi.l [A6 + 0x10], 0xC
00003DF4 6000 010C bra +0x10E /* 00003F02 */
00003DF8 538C subq.l A4, 1
00003DFA 206E 0010 movea.l A0, [A6 + 0x10]
00003DFE 54AE 0010 addq.l [A6 + 0x10], 2
00003E02 18A8 0001 move.b [A4], [A0 + 0x1]
00003E06 7C01 moveq.l D6, 0x01
00003E08 6000 00F8 bra +0xFA /* 00003F02 */
00003E0C 206E 0010 movea.l A0, [A6 + 0x10]
00003E10 58AE 0010 addq.l [A6 + 0x10], 4
00003E14 2850 movea.l A4, [A0]
00003E16 082E 0005 FDF0 btst.b [A6 - 0x210], 0x5
00003E1C 6724 beq +0x26 /* 00003E42 */
00003E1E 41D4 lea.l A0, [A4]
00003E20 528C addq.l A4, 1
00003E22 7000 moveq.l D0, 0x00
00003E24 1010 move.b D0, [A0]
00003E26 3C00 move.w D6, D0
00003E28 082E 0003 FDF0 btst.b [A6 - 0x210], 0x3
00003E2E 6700 00D2 beq +0xD4 /* 00003F02 */
00003E32 BC6E FDF6 cmp.w D6, [A6 - 0x20A]
00003E36 6F00 00CA ble +0xCC /* 00003F02 */
00003E3A 3C2E FDF6 move.w D6, [A6 - 0x20A]
00003E3E 6000 00C2 bra +0xC4 /* 00003F02 */
label00003E42:
00003E42 082E 0003 FDF0 btst.b [A6 - 0x210], 0x3
00003E48 660E bne +0x10 /* 00003E58 */
00003E4A 2F0C move.l -[A7], A4
00003E4C 4EBA 1492 jsr [PC + 0x1492 /* 000052E0 */]
00003E50 588F addq.l A7, 4
00003E52 3C00 move.w D6, D0
00003E54 6000 00AC bra +0xAE /* 00003F02 */
label00003E58:
00003E58 306E FDF6 movea.w A0, [A6 - 0x20A]
00003E5C 2F08 move.l -[A7], A0
00003E5E 4267 clr.w -[A7]
00003E60 2F0C move.l -[A7], A4
00003E62 4EBA F840 jsr [PC - 0x7C0 /* 000036A4 */]
00003E66 4FEF 000A lea.l A7, [A7 + 0xA]
00003E6A 2D40 FDF8 move.l [A6 - 0x208], D0
00003E6E 4A80 tst.l D0
00003E70 670C beq +0xE /* 00003E7E */
00003E72 202E FDF8 move.l D0, [A6 - 0x208]
00003E76 908C sub.l D0, A4
00003E78 3C00 move.w D6, D0
00003E7A 6000 0086 bra +0x88 /* 00003F02 */
label00003E7E:
00003E7E 3C2E FDF6 move.w D6, [A6 - 0x20A]
00003E82 6000 007E bra +0x80 /* 00003F02 */
00003E86 206E 0010 movea.l A0, [A6 + 0x10]
00003E8A 58AE 0010 addq.l [A6 + 0x10], 4
00003E8E 2850 movea.l A4, [A0]
00003E90 082E 0002 FDF0 btst.b [A6 - 0x210], 0x2
00003E96 6706 beq +0x8 /* 00003E9E */
00003E98 3884 move.w [A4], D4
00003E9A 6000 013A bra +0x13C /* 00003FD6 */
label00003E9E:
00003E9E 082E 0001 FDF0 btst.b [A6 - 0x210], 0x1
00003EA4 6708 beq +0xA /* 00003EAE */
00003EA6 3044 movea.w A0, D4
00003EA8 2888 move.l [A4], A0
00003EAA 6000 012A bra +0x12C /* 00003FD6 */
label00003EAE:
00003EAE 3884 move.w [A4], D4
00003EB0 6000 0124 bra +0x126 /* 00003FD6 */
00003EB4 0C47 0025 cmpi.w D7, 0x25 /* '%' */
00003EB8 6600 0130 bne +0x132 /* 00003FEA */
label00003EBC:
00003EBC 206E 0008 movea.l A0, [A6 + 0x8]
00003EC0 2028 0012 move.l D0, [A0 + 0x12]
00003EC4 53A8 0012 subq.l [A0 + 0x12], 1
00003EC8 0C80 0000 0001 cmpi.l D0, 0x1
00003ECE 6316 bls +0x18 /* 00003EE6 */
00003ED0 206E 0008 movea.l A0, [A6 + 0x8]
00003ED4 2268 000E movea.l A1, [A0 + 0xE]
00003ED8 52A8 000E addq.l [A0 + 0xE], 1
00003EDC 1287 move.b [A1], D7
00003EDE 7000 moveq.l D0, 0x00
00003EE0 1007 move.b D0, D7
00003EE2 48C0 ext.l D0
00003EE4 600C bra +0xE /* 00003EF2 */
label00003EE6:
00003EE6 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003EEA 3F07 move.w -[A7], D7
00003EEC 4EBA C5E0 jsr [PC - 0x3A20 /* 000004CE */]
00003EF0 5C8F addq.l A7, 6
label00003EF2:
00003EF2 4A40 tst.w D0
00003EF4 6C06 bge +0x8 /* 00003EFC */
00003EF6 70FF moveq.l D0, 0xFFFFFFFF
00003EF8 6000 00F2 bra +0xF4 /* 00003FEC */
label00003EFC:
00003EFC 5244 addq.w D4, 1
00003EFE 6000 00D6 bra +0xD8 /* 00003FD6 */
label00003F02:
00003F02 BC6E FDF4 cmp.w D6, [A6 - 0x20C]
00003F06 6C00 005C bge +0x5E /* 00003F64 */
00003F0A 082E 0007 FDF0 btst.b [A6 - 0x210], 0x7
00003F10 6600 0052 bne +0x54 /* 00003F64 */
label00003F14:
00003F14 206E 0008 movea.l A0, [A6 + 0x8]
00003F18 2028 0012 move.l D0, [A0 + 0x12]
00003F1C 53A8 0012 subq.l [A0 + 0x12], 1
00003F20 0C80 0000 0001 cmpi.l D0, 0x1
00003F26 6318 bls +0x1A /* 00003F40 */
00003F28 206E 0008 movea.l A0, [A6 + 0x8]
00003F2C 2268 000E movea.l A1, [A0 + 0xE]
00003F30 52A8 000E addq.l [A0 + 0xE], 1
00003F34 7020 moveq.l D0, 0x20
00003F36 1280 move.b [A1], D0
00003F38 0240 00FF andi.w D0, 0xFF
00003F3C 48C0 ext.l D0
00003F3E 600E bra +0x10 /* 00003F4E */
label00003F40:
00003F40 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003F44 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
00003F48 4EBA C584 jsr [PC - 0x3A7C /* 000004CE */]
00003F4C 5C8F addq.l A7, 6
label00003F4E:
00003F4E 4A40 tst.w D0
00003F50 6C06 bge +0x8 /* 00003F58 */
00003F52 70FF moveq.l D0, 0xFFFFFFFF
00003F54 6000 0096 bra +0x98 /* 00003FEC */
label00003F58:
00003F58 5244 addq.w D4, 1
00003F5A 536E FDF4 subq.w [A6 - 0x20C], 1
00003F5E BC6E FDF4 cmp.w D6, [A6 - 0x20C]
00003F62 6DB0 blt -0x4E /* 00003F14 */
label00003F64:
00003F64 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003F68 3046 movea.w A0, D6
00003F6A 2F08 move.l -[A7], A0
00003F6C 4878 0001 push.l 0x1
00003F70 2F0C move.l -[A7], A4
00003F72 4EBA F1BA jsr [PC - 0xE46 /* 0000312E */]
00003F76 4FEF 0010 lea.l A7, [A7 + 0x10]
00003F7A 3046 movea.w A0, D6
00003F7C B1C0 cmpa.l A0, D0
00003F7E 6706 beq +0x8 /* 00003F86 */
00003F80 70FF moveq.l D0, 0xFFFFFFFF
00003F82 6000 0068 bra +0x6A /* 00003FEC */
label00003F86:
00003F86 D846 add.w D4, D6
00003F88 6046 bra +0x48 /* 00003FD0 */
label00003F8A:
00003F8A 206E 0008 movea.l A0, [A6 + 0x8]
00003F8E 2028 0012 move.l D0, [A0 + 0x12]
00003F92 53A8 0012 subq.l [A0 + 0x12], 1
00003F96 0C80 0000 0001 cmpi.l D0, 0x1
00003F9C 6318 bls +0x1A /* 00003FB6 */
00003F9E 206E 0008 movea.l A0, [A6 + 0x8]
00003FA2 2268 000E movea.l A1, [A0 + 0xE]
00003FA6 52A8 000E addq.l [A0 + 0xE], 1
00003FAA 7020 moveq.l D0, 0x20
00003FAC 1280 move.b [A1], D0
00003FAE 0240 00FF andi.w D0, 0xFF
00003FB2 48C0 ext.l D0
00003FB4 600E bra +0x10 /* 00003FC4 */
label00003FB6:
00003FB6 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003FBA 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
00003FBE 4EBA C50E jsr [PC - 0x3AF2 /* 000004CE */]
00003FC2 5C8F addq.l A7, 6
label00003FC4:
00003FC4 4A40 tst.w D0
00003FC6 6C04 bge +0x6 /* 00003FCC */
00003FC8 70FF moveq.l D0, 0xFFFFFFFF
00003FCA 6020 bra +0x22 /* 00003FEC */
label00003FCC:
00003FCC 5244 addq.w D4, 1
00003FCE 5246 addq.w D6, 1
label00003FD0:
00003FD0 BC6E FDF4 cmp.w D6, [A6 - 0x20C]
00003FD4 6DB4 blt -0x4A /* 00003F8A */
label00003FD6:
00003FD6 52AE 000C addq.l [A6 + 0xC], 1
00003FDA 206E 000C movea.l A0, [A6 + 0xC]
00003FDE 1010 move.b D0, [A0]
00003FE0 4880 ext.w D0
00003FE2 3E00 move.w D7, D0
label00003FE4:
00003FE4 4A47 tst.w D7
00003FE6 6600 F70A bne -0x8F4 /* 000036F2 */
label00003FEA:
00003FEA 3004 move.w D0, D4
label00003FEC:
00003FEC 4CDF 10F8 movem.l D3,D4,D5,D6,D7,A4, [A7]+
00003FF0 4E5E unlink A6
00003FF2 4E75 rts
fn00003FF4:
00003FF4 4E56 FFEE link A6, -0x0012
00003FF8 2F0C move.l -[A7], A4
00003FFA 286E 000C movea.l A4, [A6 + 0xC]
00003FFE 206E 0010 movea.l A0, [A6 + 0x10]
00004002 43EE FFEE lea.l A1, [A6 - 0x12]
00004006 22D8 move.l [A1]+, [A0]+
00004008 22D8 move.l [A1]+, [A0]+
0000400A 22D8 move.l [A1]+, [A0]+
0000400C 3D6E FFEE FFF0 move.w [A6 - 0x10], [A6 - 0x12]
00004012 41EE FFF0 lea.l A0, [A6 - 0x10]
00004016 2D48 0010 move.l [A6 + 0x10], A0
0000401A 0C6E 0014 000A cmpi.w [A6 + 0xA], 0x14
00004020 6D06 blt +0x8 /* 00004028 */
00004022 7013 moveq.l D0, 0x13
00004024 3D40 000A move.w [A6 + 0xA], D0
label00004028:
00004028 1D6E 0009 FFFC move.b [A6 - 0x4], [A6 + 0x9]
0000402E 3D6E 000A FFFE move.w [A6 - 0x2], [A6 + 0xA]
00004034 486E FFFC pea.l [A6 - 0x4]
00004038 2F2E 0010 move.l -[A7], [A6 + 0x10]
0000403C 2F0C move.l -[A7], A4
0000403E 3F3C 000B move.w -[A7], 0xB
00004042 A9EB syscall Pack4/FP68K
00004044 0C2C 003F 0005 cmpi.b [A4 + 0x5], 0x3F /* '?' */
0000404A 661A bne +0x1C /* 00004066 */
0000404C 422E FFFC clr.b [A6 - 0x4]
00004050 7013 moveq.l D0, 0x13
00004052 3D40 FFFE move.w [A6 - 0x2], D0
00004056 486E FFFC pea.l [A6 - 0x4]
0000405A 2F2E 0010 move.l -[A7], [A6 + 0x10]
0000405E 2F0C move.l -[A7], A4
00004060 3F3C 000B move.w -[A7], 0xB
00004064 A9EB syscall Pack4/FP68K
label00004066:
00004066 102C 0004 move.b D0, [A4 + 0x4]
0000406A 4880 ext.w D0
0000406C 3D40 FFFA move.w [A6 - 0x6], D0
00004070 6008 bra +0xA /* 0000407A */
label00004072:
00004072 526C 0002 addq.w [A4 + 0x2], 1
00004076 536E FFFA subq.w [A6 - 0x6], 1
label0000407A:
0000407A 0C6E 0001 FFFA cmpi.w [A6 - 0x6], 0x1
00004080 6F0E ble +0x10 /* 00004090 */
00004082 306E FFFA movea.w A0, [A6 - 0x6]
00004086 D1CC add.l A0, A4
00004088 0C28 0030 0004 cmpi.b [A0 + 0x4], 0x30 /* '0' */
0000408E 67E2 beq -0x1C /* 00004072 */
label00004090:
00004090 196E FFFB 0004 move.b [A4 + 0x4], [A6 - 0x5]
00004096 0C2C 0030 0005 cmpi.b [A4 + 0x5], 0x30 /* '0' */
0000409C 6608 bne +0xA /* 000040A6 */
0000409E 4214 clr.b [A4]
000040A0 426C 0002 clr.w [A4 + 0x2]
000040A4 6036 bra +0x38 /* 000040DC */
label000040A6:
000040A6 0C2C 0049 0005 cmpi.b [A4 + 0x5], 0x49 /* 'I' */
000040AC 6614 bne +0x16 /* 000040C2 */
000040AE 7003 moveq.l D0, 0x03
000040B0 1940 0004 move.b [A4 + 0x4], D0
000040B4 704E moveq.l D0, 0x4E
000040B6 1940 0006 move.b [A4 + 0x6], D0
000040BA 7046 moveq.l D0, 0x46
000040BC 1940 0007 move.b [A4 + 0x7], D0
000040C0 601A bra +0x1C /* 000040DC */
label000040C2:
000040C2 0C2C 004E 0005 cmpi.b [A4 + 0x5], 0x4E /* 'N' */
000040C8 6612 bne +0x14 /* 000040DC */
000040CA 7005 moveq.l D0, 0x05
000040CC 1940 0004 move.b [A4 + 0x4], D0
000040D0 7041 moveq.l D0, 0x41
000040D2 1940 0006 move.b [A4 + 0x6], D0
000040D6 704E moveq.l D0, 0x4E
000040D8 1940 0007 move.b [A4 + 0x7], D0
label000040DC:
000040DC 285F movea.l A4, [A7]+
000040DE 4E5E unlink A6
000040E0 4E75 rts
fn000040E2:
000040E2 4E56 0000 link A6, 0
000040E6 48E7 0018 movem.l -[A7], A3,A4
000040EA 286E 0008 movea.l A4, [A6 + 0x8]
000040EE 266E 000C movea.l A3, [A6 + 0xC]
000040F2 6042 bra +0x44 /* 00004136 */
label000040F4:
000040F4 202B 0012 move.l D0, [A3 + 0x12]
000040F8 53AB 0012 subq.l [A3 + 0x12], 1
000040FC 0C80 0000 0001 cmpi.l D0, 0x1
00004102 6318 bls +0x1A /* 0000411C */
00004104 206B 000E movea.l A0, [A3 + 0xE]
00004108 52AB 000E addq.l [A3 + 0xE], 1
0000410C 43D4 lea.l A1, [A4]
0000410E 528C addq.l A4, 1
00004110 1011 move.b D0, [A1]
00004112 1080 move.b [A0], D0
00004114 0240 00FF andi.w D0, 0xFF
00004118 48C0 ext.l D0
0000411A 6012 bra +0x14 /* 0000412E */
label0000411C:
0000411C 41D4 lea.l A0, [A4]
0000411E 528C addq.l A4, 1
00004120 2F0B move.l -[A7], A3
00004122 1010 move.b D0, [A0]
00004124 4880 ext.w D0
00004126 3F00 move.w -[A7], D0
00004128 4EBA C3A4 jsr [PC - 0x3C5C /* 000004CE */]
0000412C 5C8F addq.l A7, 6
label0000412E:
0000412E 4A40 tst.w D0
00004130 6C04 bge +0x6 /* 00004136 */
00004132 70FF moveq.l D0, 0xFFFFFFFF
00004134 6006 bra +0x8 /* 0000413C */
label00004136:
00004136 4A14 tst.b [A4]
00004138 66BA bne -0x44 /* 000040F4 */
0000413A 7000 moveq.l D0, 0x00
label0000413C:
0000413C 4CDF 1800 movem.l A3,A4, [A7]+
00004140 4E5E unlink A6
00004142 4E75 rts
export_33:
00004144 4E56 0000 link A6, 0
00004148 486D FB8C pea.l [A5 - 0x474]
0000414C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004150 4EBA FF90 jsr [PC - 0x70 /* 000040E2 */]
00004154 508F addq.l A7, 8
00004156 4A40 tst.w D0
00004158 6C04 bge +0x6 /* 0000415E */
0000415A 70FF moveq.l D0, 0xFFFFFFFF
0000415C 6032 bra +0x34 /* 00004190 */
label0000415E:
0000415E 202D FB9E move.l D0, [A5 - 0x462]
00004162 53AD FB9E subq.l [A5 - 0x462], 1
00004166 0C80 0000 0001 cmpi.l D0, 0x1
0000416C 6314 bls +0x16 /* 00004182 */
0000416E 206D FB9A movea.l A0, [A5 - 0x466]
00004172 52AD FB9A addq.l [A5 - 0x466], 1
00004176 700A moveq.l D0, 0x0A
00004178 1080 move.b [A0], D0
0000417A 0240 00FF andi.w D0, 0xFF
0000417E 48C0 ext.l D0
00004180 600E bra +0x10 /* 00004190 */
label00004182:
00004182 486D FB8C pea.l [A5 - 0x474]
00004186 3F3C 000A move.w -[A7], 0xA /* '\n' */
0000418A 4EBA C342 jsr [PC - 0x3CBE /* 000004CE */]
0000418E 5C8F addq.l A7, 6
label00004190:
00004190 4E5E unlink A6
00004192 4E75 rts
fn00004194:
00004194 4E56 0000 link A6, 0
00004198 2F0C move.l -[A7], A4
0000419A 286E 000A movea.l A4, [A6 + 0xA]
0000419E 202C 0012 move.l D0, [A4 + 0x12]
000041A2 53AC 0012 subq.l [A4 + 0x12], 1
000041A6 0C80 0000 0001 cmpi.l D0, 0x1
000041AC 6316 bls +0x18 /* 000041C4 */
000041AE 206C 000E movea.l A0, [A4 + 0xE]
000041B2 52AC 000E addq.l [A4 + 0xE], 1
000041B6 102E 0009 move.b D0, [A6 + 0x9]
000041BA 1080 move.b [A0], D0
000041BC 0240 00FF andi.w D0, 0xFF
000041C0 48C0 ext.l D0
000041C2 600C bra +0xE /* 000041D0 */
label000041C4:
000041C4 2F0C move.l -[A7], A4
000041C6 3F2E 0008 move.w -[A7], [A6 + 0x8]
000041CA 4EBA C302 jsr [PC - 0x3CFE /* 000004CE */]
000041CE 5C8F addq.l A7, 6
label000041D0:
000041D0 285F movea.l A4, [A7]+
000041D2 4E5E unlink A6
000041D4 4E75 rts
000041D6 4E56 0000 link A6, 0
000041DA 2F2E 000A move.l -[A7], [A6 + 0xA]
000041DE 3F2E 0008 move.w -[A7], [A6 + 0x8]
000041E2 4EBA FFB0 jsr [PC - 0x50 /* 00004194 */]
000041E6 5C8F addq.l A7, 6
000041E8 4E5E unlink A6
000041EA 4E75 rts
000041EC 4E56 0000 link A6, 0
000041F0 486D FB8C pea.l [A5 - 0x474]
000041F4 3F2E 0008 move.w -[A7], [A6 + 0x8]
000041F8 4EBA FF9A jsr [PC - 0x66 /* 00004194 */]
000041FC 5C8F addq.l A7, 6
000041FE 4E5E unlink A6
00004200 4E75 rts
export_36:
00004202 4E56 0000 link A6, 0
00004206 2B6E 0008 FDCC move.l [A5 - 0x234], [A6 + 0x8]
0000420C 202E 0010 move.l D0, [A6 + 0x10]
00004210 5280 addq.l D0, 1
00004212 0280 FFFF FFFE andi.l D0, 0xFFFFFFFE
00004218 2B40 FDD0 move.l [A5 - 0x230], D0
0000421C 2B6E 0014 FDD4 move.l [A5 - 0x22C], [A6 + 0x14]
00004222 486D 0132 pea.l [A5 + 0x132 /* export_34 */]
00004226 486D 013A pea.l [A5 + 0x13A /* export_35 */]
0000422A 2F2E 000C move.l -[A7], [A6 + 0xC]
0000422E 4EBA 009C jsr [PC + 0x9C /* 000042CC */]
00004232 4FEF 000C lea.l A7, [A7 + 0xC]
00004236 4E5E unlink A6
00004238 4E75 rts
export_35:
0000423A 4E56 FFFC link A6, -0x0004
0000423E 2F2D FDD0 move.l -[A7], [A5 - 0x230]
00004242 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004246 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
0000424A D0AD FDCC add.l D0, [A5 - 0x234]
0000424E 2F2D FDD0 move.l -[A7], [A5 - 0x230]
00004252 2F2E 000C move.l -[A7], [A6 + 0xC]
00004256 2D40 FFFC move.l [A6 - 0x4], D0
0000425A 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
0000425E D0AD FDCC add.l D0, [A5 - 0x234]
00004262 2F00 move.l -[A7], D0
00004264 2F2E FFFC move.l -[A7], [A6 - 0x4]
00004268 206D FDD4 movea.l A0, [A5 - 0x22C]
0000426C 4E90 jsr [A0]
0000426E 508F addq.l A7, 8
00004270 4E5E unlink A6
00004272 4E75 rts
export_34:
00004274 4E56 0000 link A6, 0
00004278 48E7 0018 movem.l -[A7], A3,A4
0000427C 2F2D FDD0 move.l -[A7], [A5 - 0x230]
00004280 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004284 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
00004288 D0AD FDCC add.l D0, [A5 - 0x234]
0000428C 2840 movea.l A4, D0
0000428E 2F2D FDD0 move.l -[A7], [A5 - 0x230]
00004292 2F2E 000C move.l -[A7], [A6 + 0xC]
00004296 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
0000429A D0AD FDCC add.l D0, [A5 - 0x234]
0000429E 2640 movea.l A3, D0
000042A0 202D FDD0 move.l D0, [A5 - 0x230]
label000042A4:
000042A4 121C move.b D1, [A4]+
000042A6 B31B xor.b [A3]+, D1
000042A8 5380 subq.l D0, 1
000042AA 66F8 bne -0x6 /* 000042A4 */
000042AC 202D FDD0 move.l D0, [A5 - 0x230]
label000042B0:
000042B0 1223 move.b D1, -[A3]
000042B2 B324 xor.b -[A4], D1
000042B4 5380 subq.l D0, 1
000042B6 66F8 bne -0x6 /* 000042B0 */
000042B8 202D FDD0 move.l D0, [A5 - 0x230]
label000042BC:
000042BC 121C move.b D1, [A4]+
000042BE B31B xor.b [A3]+, D1
000042C0 5380 subq.l D0, 1
000042C2 66F8 bne -0x6 /* 000042BC */
000042C4 4CDF 1800 movem.l A3,A4, [A7]+
000042C8 4E5E unlink A6
000042CA 4E75 rts
fn000042CC:
000042CC 4E56 0000 link A6, 0
000042D0 2B6E 000C FDD8 move.l [A5 - 0x228], [A6 + 0xC]
000042D6 2B6E 0010 FDDC move.l [A5 - 0x224], [A6 + 0x10]
000042DC 2F2E 0008 move.l -[A7], [A6 + 0x8]
000042E0 42A7 clr.l -[A7]
000042E2 4EBA 0008 jsr [PC + 0x8 /* 000042EC */]
000042E6 508F addq.l A7, 8
000042E8 4E5E unlink A6
000042EA 4E75 rts
fn000042EC:
000042EC 4E56 FFFC link A6, -0x0004
000042F0 6000 00D6 bra +0xD8 /* 000043C8 */
label000042F4:
000042F4 2B6E 0008 FDE0 move.l [A5 - 0x220], [A6 + 0x8]
000042FA 2D6E 000C FFFC move.l [A6 - 0x4], [A6 + 0xC]
label00004300:
00004300 52AD FDE0 addq.l [A5 - 0x220], 1
00004304 202D FDE0 move.l D0, [A5 - 0x220]
00004308 B0AE 000C cmp.l D0, [A6 + 0xC]
0000430C 6414 bcc +0x16 /* 00004322 */
0000430E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004312 2F2D FDE0 move.l -[A7], [A5 - 0x220]
00004316 206D FDD8 movea.l A0, [A5 - 0x228]
0000431A 4E90 jsr [A0]
0000431C 508F addq.l A7, 8
0000431E 4A40 tst.w D0
00004320 6DDE blt -0x20 /* 00004300 */
label00004322:
00004322 53AE FFFC subq.l [A6 - 0x4], 1
00004326 202E FFFC move.l D0, [A6 - 0x4]
0000432A B0AE 0008 cmp.l D0, [A6 + 0x8]
0000432E 6314 bls +0x16 /* 00004344 */
00004330 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004334 2F2E FFFC move.l -[A7], [A6 - 0x4]
00004338 206D FDD8 movea.l A0, [A5 - 0x228]
0000433C 4E90 jsr [A0]
0000433E 508F addq.l A7, 8
00004340 4A40 tst.w D0
00004342 6EDE bgt -0x20 /* 00004322 */
label00004344:
00004344 202D FDE0 move.l D0, [A5 - 0x220]
00004348 B0AE FFFC cmp.l D0, [A6 - 0x4]
0000434C 6412 bcc +0x14 /* 00004360 */
0000434E 2F2E FFFC move.l -[A7], [A6 - 0x4]
00004352 2F2D FDE0 move.l -[A7], [A5 - 0x220]
00004356 206D FDDC movea.l A0, [A5 - 0x224]
0000435A 4E90 jsr [A0]
0000435C 508F addq.l A7, 8
0000435E 60A0 bra -0x5E /* 00004300 */
label00004360:
00004360 202E FFFC move.l D0, [A6 - 0x4]
00004364 B0AE 0008 cmp.l D0, [A6 + 0x8]
00004368 6606 bne +0x8 /* 00004370 */
0000436A 52AE 0008 addq.l [A6 + 0x8], 1
0000436E 6058 bra +0x5A /* 000043C8 */
label00004370:
00004370 2F2E FFFC move.l -[A7], [A6 - 0x4]
00004374 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004378 206D FDDC movea.l A0, [A5 - 0x224]
0000437C 4E90 jsr [A0]
0000437E 508F addq.l A7, 8
00004380 202E FFFC move.l D0, [A6 - 0x4]
00004384 90AE 0008 sub.l D0, [A6 + 0x8]
00004388 222E 000C move.l D1, [A6 + 0xC]
0000438C 92AE FFFC sub.l D1, [A6 - 0x4]
00004390 5381 subq.l D1, 1
00004392 B081 cmp.l D0, D1
00004394 641A bcc +0x1C /* 000043B0 */
00004396 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000439A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000439E 4EBA FF4C jsr [PC - 0xB4 /* 000042EC */]
000043A2 508F addq.l A7, 8
000043A4 202E FFFC move.l D0, [A6 - 0x4]
000043A8 5280 addq.l D0, 1
000043AA 2D40 0008 move.l [A6 + 0x8], D0
000043AE 6018 bra +0x1A /* 000043C8 */
label000043B0:
000043B0 2F2E 000C move.l -[A7], [A6 + 0xC]
000043B4 206E FFFC movea.l A0, [A6 - 0x4]
000043B8 4868 0001 pea.l [A0 + 0x1]
000043BC 4EBA FF2E jsr [PC - 0xD2 /* 000042EC */]
000043C0 508F addq.l A7, 8
000043C2 2D6E FFFC 000C move.l [A6 + 0xC], [A6 - 0x4]
label000043C8:
000043C8 202E 000C move.l D0, [A6 + 0xC]
000043CC 90AE 0008 sub.l D0, [A6 + 0x8]
000043D0 0C80 0000 0001 cmpi.l D0, 0x1
000043D6 6200 FF1C bhi -0xE2 /* 000042F4 */
000043DA 4E5E unlink A6
000043DC 4E75 rts
export_37:
000043DE 4879 41C6 4E6D push.l 0x41C64E6D
000043E4 2F2D FDE4 move.l -[A7], [A5 - 0x21C]
000043E8 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
000043EC 0680 0000 3039 addi.l D0, 0x3039 /* '09' */
000043F2 2B40 FDE4 move.l [A5 - 0x21C], D0
000043F6 302D FDE4 move.w D0, [A5 - 0x21C]
000043FA 0240 7FFF andi.w D0, 0x7FFF
000043FE 4E75 rts
export_38:
00004400 4E56 0000 link A6, 0
00004404 7000 moveq.l D0, 0x00
00004406 302E 0008 move.w D0, [A6 + 0x8]
0000440A 2B40 FDE4 move.l [A5 - 0x21C], D0
0000440E 4E5E unlink A6
00004410 4E75 rts
fn00004412:
00004412 4E56 FFD8 link A6, -0x0028
00004416 48E7 0F08 movem.l -[A7], D4,D5,D6,D7,A4
0000441A 426E FFFE clr.w [A6 - 0x2]
0000441E 426E FFFC clr.w [A6 - 0x4]
00004422 426E FFFA clr.w [A6 - 0x6]
00004426 206E 000C movea.l A0, [A6 + 0xC]
0000442A 1010 move.b D0, [A0]
0000442C 4880 ext.w D0
0000442E 3E00 move.w D7, D0
00004430 6000 0950 bra +0x952 /* 00004D82 */
label00004434:
00004434 0C47 0025 cmpi.w D7, 0x25 /* '%' */
00004438 6600 0390 bne +0x392 /* 000047CA */
0000443C 2D6D FDE8 FFF0 move.l [A6 - 0x10], [A5 - 0x218]
00004442 52AE 000C addq.l [A6 + 0xC], 1
00004446 206E 000C movea.l A0, [A6 + 0xC]
0000444A 1010 move.b D0, [A0]
0000444C 4880 ext.w D0
0000444E 3E00 move.w D7, D0
00004450 0C47 002A cmpi.w D7, 0x2A /* '*' */
00004454 6614 bne +0x16 /* 0000446A */
00004456 08EE 0007 FFF0 bset.b [A6 - 0x10], 0x7
0000445C 52AE 000C addq.l [A6 + 0xC], 1
00004460 206E 000C movea.l A0, [A6 + 0xC]
00004464 1010 move.b D0, [A0]
00004466 4880 ext.w D0
00004468 3E00 move.w D7, D0
label0000446A:
0000446A 7000 moveq.l D0, 0x00
0000446C 1007 move.b D0, D7
0000446E 41ED FA32 lea.l A0, [A5 - 0x5CE]
00004472 D0C0 add.w A0, D0
00004474 1010 move.b D0, [A0]
00004476 4880 ext.w D0
00004478 0800 0004 btst.b D0, 0x4
0000447C 6742 beq +0x44 /* 000044C0 */
0000447E 08EE 0006 FFF0 bset.b [A6 - 0x10], 0x6
label00004484:
00004484 302E FFF2 move.w D0, [A6 - 0xE]
00004488 C1FC 000A muls.w D0, 0xA /* '\n' */
0000448C D047 add.w D0, D7
0000448E 0640 FFD0 addi.w D0, 0xFFD0
00004492 3D40 FFF2 move.w [A6 - 0xE], D0
00004496 52AE 000C addq.l [A6 + 0xC], 1
0000449A 206E 000C movea.l A0, [A6 + 0xC]
0000449E 1010 move.b D0, [A0]
000044A0 4880 ext.w D0
000044A2 3E00 move.w D7, D0
000044A4 7000 moveq.l D0, 0x00
000044A6 1007 move.b D0, D7
000044A8 41ED FA32 lea.l A0, [A5 - 0x5CE]
000044AC D0C0 add.w A0, D0
000044AE 1010 move.b D0, [A0]
000044B0 4880 ext.w D0
000044B2 0800 0004 btst.b D0, 0x4
000044B6 66CC bne -0x32 /* 00004484 */
000044B8 4A6E FFF2 tst.w [A6 - 0xE]
000044BC 6F00 08CA ble +0x8CC /* 00004D88 */
label000044C0:
000044C0 3007 move.w D0, D7
000044C2 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
000044C6 003F 0078 ori.b <<invalid special address>>, 0x78 /* 'x' */
000044CA 02F8 .incomplete
000044CC 00BC 02F4 02F2 02F0 02EE ori.l 0x2F002EE, 0x2F402F2
000044D6 02EC .incomplete
000044D8 00EC .incomplete
000044DA 02E8 .incomplete
000044DC 00E8 .incomplete
000044DE 02E4 .incomplete
000044E0 02E2 .incomplete
000044E2 02E0 .incomplete
000044E4 02DE .incomplete
000044E6 008A 02DA 02D8 ori.l A2, 0x2DA02D8
000044EC 02D6 .incomplete
000044EE 02D4 .incomplete
000044F0 02D2 .incomplete
000044F2 02D0 .incomplete
000044F4 02CE .incomplete
000044F6 02CC .incomplete
000044F8 02CA .incomplete
000044FA 02C8 .incomplete
000044FC 02C6 .incomplete
000044FE 00C0 .incomplete
00004500 02C2 .incomplete
00004502 02C0 .incomplete
00004504 0128 02BC btst [A0 + 0x2BC], D0
00004508 02BA 02B8 02B6 02B4 andi.l [PC + 0x2B4 /* 000047BE, value 0x6000051C, cstring "`" */], 0x2B802B6
00004510 02B2 02B0 0216 008A andi.l [A2 + D0.w - 0x118], 0x2B00216
00004518 00AC 00AA 00A8 0022 ori.l [A4 + 0x22], 0xAA00A8
00004520 0086 02A0 029E ori.l D6, 0x2A0029E
00004526 0032 029A 028E ori.b [A2 + D0.w * 2 - 0x114], 0x9A
0000452C 0080 008A 0292 ori.l D0, 0x8A0292
00004532 0290 00A0 028C andi.l [A0], 0xA0028C
00004538 007A 0288 0286 ori.w [PC + 0x286 /* 000047C0, value 0x51C */], 0x288
0000453E 0080 08EE 0007 ori.l D0, 0x8EE0007
00004544 FFF1 .invalid <<F/7/7>>
00004546 52AE 000C addq.l [A6 + 0xC], 1
0000454A 206E 000C movea.l A0, [A6 + 0xC]
0000454E 1010 move.b D0, [A0]
00004550 4880 ext.w D0
00004552 3E00 move.w D7, D0
00004554 6000 FF6A bra -0x94 /* 000044C0 */
00004558 08EE 0006 FFF1 bset.b [A6 - 0xF], 0x6
0000455E 52AE 000C addq.l [A6 + 0xC], 1
00004562 206E 000C movea.l A0, [A6 + 0xC]
00004566 1010 move.b D0, [A0]
00004568 4880 ext.w D0
0000456A 3E00 move.w D7, D0
0000456C 6000 FF52 bra -0xAC /* 000044C0 */
00004570 08EE 0005 FFF1 bset.b [A6 - 0xF], 0x5
00004576 52AE 000C addq.l [A6 + 0xC], 1
0000457A 206E 000C movea.l A0, [A6 + 0xC]
0000457E 1010 move.b D0, [A0]
00004580 4880 ext.w D0
00004582 3E00 move.w D7, D0
00004584 6000 FF3A bra -0xC4 /* 000044C0 */
00004588 08EE 0005 FFF0 bset.b [A6 - 0x10], 0x5
0000458E 52AE 000C addq.l [A6 + 0xC], 1
00004592 206E 000C movea.l A0, [A6 + 0xC]
00004596 1010 move.b D0, [A0]
00004598 4880 ext.w D0
0000459A 3E00 move.w D7, D0
0000459C 6000 FF22 bra -0xDC /* 000044C0 */
000045A0 7C0A moveq.l D6, 0x0A
000045A2 6000 03A8 bra +0x3AA /* 0000494C */
000045A6 7C00 moveq.l D6, 0x00
000045A8 6000 03A2 bra +0x3A4 /* 0000494C */
000045AC 7C08 moveq.l D6, 0x08
000045AE 6000 0396 bra +0x398 /* 00004946 */
000045B2 7C0A moveq.l D6, 0x0A
000045B4 6000 0390 bra +0x392 /* 00004946 */
000045B8 08EE 0006 FFF1 bset.b [A6 - 0xF], 0x6
000045BE 7C10 moveq.l D6, 0x10
000045C0 6000 0384 bra +0x386 /* 00004946 */
000045C4 08EE 0001 FFF0 bset.b [A6 - 0x10], 0x1
000045CA 70FF moveq.l D0, 0xFFFFFFFF
000045CC 3D40 FFF6 move.w [A6 - 0xA], D0
000045D0 6000 0390 bra +0x392 /* 00004962 */
label000045D4:
000045D4 206E 0008 movea.l A0, [A6 + 0x8]
000045D8 2028 0012 move.l D0, [A0 + 0x12]
000045DC 53A8 0012 subq.l [A0 + 0x12], 1
000045E0 4A80 tst.l D0
000045E2 6714 beq +0x16 /* 000045F8 */
000045E4 206E 0008 movea.l A0, [A6 + 0x8]
000045E8 2268 000E movea.l A1, [A0 + 0xE]
000045EC 52A8 000E addq.l [A0 + 0xE], 1
000045F0 7000 moveq.l D0, 0x00
000045F2 1011 move.b D0, [A1]
000045F4 48C0 ext.l D0
000045F6 600A bra +0xC /* 00004602 */
label000045F8:
000045F8 2F2E 0008 move.l -[A7], [A6 + 0x8]
000045FC 4EBA BE6A jsr [PC - 0x4196 /* 00000468 */]
00004600 588F addq.l A7, 4
label00004602:
00004602 3E00 move.w D7, D0
00004604 526E FFFA addq.w [A6 - 0x6], 1
00004608 7000 moveq.l D0, 0x00
0000460A 1007 move.b D0, D7
0000460C 41ED FA32 lea.l A0, [A5 - 0x5CE]
00004610 D0C0 add.w A0, D0
00004612 1010 move.b D0, [A0]
00004614 4880 ext.w D0
00004616 0240 0006 andi.w D0, 0x6
0000461A 4A40 tst.w D0
0000461C 66B6 bne -0x48 /* 000045D4 */
0000461E 3F3C 0001 move.w -[A7], 0x1
00004622 4EBA 0780 jsr [PC + 0x780 /* 00004DA4 */]
00004626 548F addq.l A7, 2
00004628 6000 026A bra +0x26C /* 00004894 */
0000462C 52AE 000C addq.l [A6 + 0xC], 1
00004630 206E 000C movea.l A0, [A6 + 0xC]
00004634 1010 move.b D0, [A0]
00004636 4880 ext.w D0
00004638 3E00 move.w D7, D0
0000463A 0C47 005E cmpi.w D7, 0x5E /* '^' */
0000463E 6614 bne +0x16 /* 00004654 */
00004640 08EE 0004 FFF0 bset.b [A6 - 0x10], 0x4
00004646 52AE 000C addq.l [A6 + 0xC], 1
0000464A 206E 000C movea.l A0, [A6 + 0xC]
0000464E 1010 move.b D0, [A0]
00004650 4880 ext.w D0
00004652 3E00 move.w D7, D0
label00004654:
00004654 4267 clr.w -[A7]
00004656 4EBA 074C jsr [PC + 0x74C /* 00004DA4 */]
0000465A 548F addq.l A7, 2
label0000465C:
0000465C 4A47 tst.w D7
0000465E 6700 0728 beq +0x72A /* 00004D88 */
00004662 7000 moveq.l D0, 0x00
00004664 1007 move.b D0, D7
00004666 3F00 move.w -[A7], D0
00004668 4EBA 076E jsr [PC + 0x76E /* 00004DD8 */]
0000466C 548F addq.l A7, 2
0000466E 52AE 000C addq.l [A6 + 0xC], 1
00004672 206E 000C movea.l A0, [A6 + 0xC]
00004676 1010 move.b D0, [A0]
00004678 4880 ext.w D0
0000467A 3E00 move.w D7, D0
0000467C 0C47 005D cmpi.w D7, 0x5D /* ']' */
00004680 6700 0064 beq +0x66 /* 000046E6 */
00004684 0C47 002D cmpi.w D7, 0x2D /* '-' */
00004688 66D2 bne -0x2C /* 0000465C */
0000468A 206E 000C movea.l A0, [A6 + 0xC]
0000468E 0C28 005D 0001 cmpi.b [A0 + 0x1], 0x5D /* ']' */
00004694 67C6 beq -0x38 /* 0000465C */
00004696 206E 000C movea.l A0, [A6 + 0xC]
0000469A 1028 FFFF move.b D0, [A0 - 0x1]
0000469E 1D40 FFF5 move.b [A6 - 0xB], D0
000046A2 206E 000C movea.l A0, [A6 + 0xC]
000046A6 0240 00FF andi.w D0, 0xFF
000046AA 1228 0001 move.b D1, [A0 + 0x1]
000046AE 4881 ext.w D1
000046B0 B240 cmp.w D1, D0
000046B2 65A8 bcs -0x56 /* 0000465C */
000046B4 52AE 000C addq.l [A6 + 0xC], 1
000046B8 206E 000C movea.l A0, [A6 + 0xC]
000046BC 1010 move.b D0, [A0]
000046BE 4880 ext.w D0
000046C0 3E00 move.w D7, D0
000046C2 6014 bra +0x16 /* 000046D8 */
label000046C4:
000046C4 102E FFF5 move.b D0, [A6 - 0xB]
000046C8 522E FFF5 addq.b [A6 - 0xB], 1
000046CC 0240 00FF andi.w D0, 0xFF
000046D0 3F00 move.w -[A7], D0
000046D2 4EBA 0704 jsr [PC + 0x704 /* 00004DD8 */]
000046D6 548F addq.l A7, 2
label000046D8:
000046D8 7000 moveq.l D0, 0x00
000046DA 102E FFF5 move.b D0, [A6 - 0xB]
000046DE B047 cmp.w D0, D7
000046E0 66E2 bne -0x1C /* 000046C4 */
000046E2 6000 FF78 bra -0x86 /* 0000465C */
label000046E6:
000046E6 082E 0004 FFF0 btst.b [A6 - 0x10], 0x4
000046EC 6704 beq +0x6 /* 000046F2 */
000046EE 4EBA 0708 jsr [PC + 0x708 /* 00004DF8 */]
label000046F2:
000046F2 206E 0008 movea.l A0, [A6 + 0x8]
000046F6 2028 0012 move.l D0, [A0 + 0x12]
000046FA 53A8 0012 subq.l [A0 + 0x12], 1
000046FE 4A80 tst.l D0
00004700 6714 beq +0x16 /* 00004716 */
00004702 206E 0008 movea.l A0, [A6 + 0x8]
00004706 2268 000E movea.l A1, [A0 + 0xE]
0000470A 52A8 000E addq.l [A0 + 0xE], 1
0000470E 7000 moveq.l D0, 0x00
00004710 1011 move.b D0, [A1]
00004712 48C0 ext.l D0
00004714 600A bra +0xC /* 00004720 */
label00004716:
00004716 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000471A 4EBA BD4C jsr [PC - 0x42B4 /* 00000468 */]
0000471E 588F addq.l A7, 4
label00004720:
00004720 3E00 move.w D7, D0
00004722 526E FFFA addq.w [A6 - 0x6], 1
00004726 6000 016C bra +0x16E /* 00004894 */
0000472A 082E 0006 FFF0 btst.b [A6 - 0x10], 0x6
00004730 6606 bne +0x8 /* 00004738 */
00004732 7001 moveq.l D0, 0x01
00004734 3D40 FFF2 move.w [A6 - 0xE], D0
label00004738:
00004738 082E 0007 FFF0 btst.b [A6 - 0x10], 0x7
0000473E 6600 0058 bne +0x5A /* 00004798 */
00004742 206E 0010 movea.l A0, [A6 + 0x10]
00004746 58AE 0010 addq.l [A6 + 0x10], 4
0000474A 2850 movea.l A4, [A0]
0000474C 604A bra +0x4C /* 00004798 */
label0000474E:
0000474E 206E 0008 movea.l A0, [A6 + 0x8]
00004752 2028 0012 move.l D0, [A0 + 0x12]
00004756 53A8 0012 subq.l [A0 + 0x12], 1
0000475A 4A80 tst.l D0
0000475C 6714 beq +0x16 /* 00004772 */
0000475E 206E 0008 movea.l A0, [A6 + 0x8]
00004762 2268 000E movea.l A1, [A0 + 0xE]
00004766 52A8 000E addq.l [A0 + 0xE], 1
0000476A 7000 moveq.l D0, 0x00
0000476C 1011 move.b D0, [A1]
0000476E 48C0 ext.l D0
00004770 600A bra +0xC /* 0000477C */
label00004772:
00004772 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004776 4EBA BCF0 jsr [PC - 0x4310 /* 00000468 */]
0000477A 588F addq.l A7, 4
label0000477C:
0000477C 3E00 move.w D7, D0
0000477E 0C40 FFFF cmpi.w D0, 0xFFFF
00004782 6700 0604 beq +0x606 /* 00004D88 */
00004786 082E 0007 FFF0 btst.b [A6 - 0x10], 0x7
0000478C 6606 bne +0x8 /* 00004794 */
0000478E 41D4 lea.l A0, [A4]
00004790 528C addq.l A4, 1
00004792 1087 move.b [A0], D7
label00004794:
00004794 526E FFFA addq.w [A6 - 0x6], 1
label00004798:
00004798 302E FFF2 move.w D0, [A6 - 0xE]
0000479C 536E FFF2 subq.w [A6 - 0xE], 1
000047A0 4A40 tst.w D0
000047A2 6EAA bgt -0x54 /* 0000474E */
000047A4 082E 0007 FFF0 btst.b [A6 - 0x10], 0x7
000047AA 6604 bne +0x6 /* 000047B0 */
000047AC 526E FFFE addq.w [A6 - 0x2], 1
label000047B0:
000047B0 526E FFFC addq.w [A6 - 0x4], 1
000047B4 6000 05BE bra +0x5C0 /* 00004D74 */
000047B8 306E FFFA movea.w A0, [A6 - 0x6]
000047BC 2808 move.l D4, A0
000047BE 6000 051C bra +0x51E /* 00004CDC */
000047C2 0C47 0025 cmpi.w D7, 0x25 /* '%' */
000047C6 6600 05C0 bne +0x5C2 /* 00004D88 */
label000047CA:
000047CA 7000 moveq.l D0, 0x00
000047CC 1007 move.b D0, D7
000047CE 41ED FA32 lea.l A0, [A5 - 0x5CE]
000047D2 D0C0 add.w A0, D0
000047D4 1010 move.b D0, [A0]
000047D6 4880 ext.w D0
000047D8 0240 0006 andi.w D0, 0x6
000047DC 4A40 tst.w D0
000047DE 6700 0060 beq +0x62 /* 00004840 */
label000047E2:
000047E2 206E 0008 movea.l A0, [A6 + 0x8]
000047E6 2028 0012 move.l D0, [A0 + 0x12]
000047EA 53A8 0012 subq.l [A0 + 0x12], 1
000047EE 4A80 tst.l D0
000047F0 6714 beq +0x16 /* 00004806 */
000047F2 206E 0008 movea.l A0, [A6 + 0x8]
000047F6 2268 000E movea.l A1, [A0 + 0xE]
000047FA 52A8 000E addq.l [A0 + 0xE], 1
000047FE 7000 moveq.l D0, 0x00
00004800 1011 move.b D0, [A1]
00004802 48C0 ext.l D0
00004804 600A bra +0xC /* 00004810 */
label00004806:
00004806 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000480A 4EBA BC5C jsr [PC - 0x43A4 /* 00000468 */]
0000480E 588F addq.l A7, 4
label00004810:
00004810 3E00 move.w D7, D0
00004812 526E FFFA addq.w [A6 - 0x6], 1
00004816 7000 moveq.l D0, 0x00
00004818 1007 move.b D0, D7
0000481A 41ED FA32 lea.l A0, [A5 - 0x5CE]
0000481E D0C0 add.w A0, D0
00004820 1010 move.b D0, [A0]
00004822 4880 ext.w D0
00004824 0240 0006 andi.w D0, 0x6
00004828 4A40 tst.w D0
0000482A 66B6 bne -0x48 /* 000047E2 */
0000482C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004830 3F07 move.w -[A7], D7
00004832 4EBA 10FC jsr [PC + 0x10FC /* 00005930 */]
00004836 5C8F addq.l A7, 6
00004838 536E FFFA subq.w [A6 - 0x6], 1
0000483C 6000 0536 bra +0x538 /* 00004D74 */
label00004840:
00004840 206E 0008 movea.l A0, [A6 + 0x8]
00004844 2028 0012 move.l D0, [A0 + 0x12]
00004848 53A8 0012 subq.l [A0 + 0x12], 1
0000484C 4A80 tst.l D0
0000484E 6714 beq +0x16 /* 00004864 */
00004850 206E 0008 movea.l A0, [A6 + 0x8]
00004854 2268 000E movea.l A1, [A0 + 0xE]
00004858 52A8 000E addq.l [A0 + 0xE], 1
0000485C 7000 moveq.l D0, 0x00
0000485E 1011 move.b D0, [A1]
00004860 48C0 ext.l D0
00004862 600A bra +0xC /* 0000486E */
label00004864:
00004864 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004868 4EBA BBFE jsr [PC - 0x4402 /* 00000468 */]
0000486C 588F addq.l A7, 4
label0000486E:
0000486E 3E00 move.w D7, D0
00004870 206E 000C movea.l A0, [A6 + 0xC]
00004874 7200 moveq.l D1, 0x00
00004876 1210 move.b D1, [A0]
00004878 B041 cmp.w D0, D1
0000487A 6710 beq +0x12 /* 0000488C */
0000487C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004880 3F07 move.w -[A7], D7
00004882 4EBA 10AC jsr [PC + 0x10AC /* 00005930 */]
00004886 5C8F addq.l A7, 6
00004888 6000 04FE bra +0x500 /* 00004D88 */
label0000488C:
0000488C 526E FFFA addq.w [A6 - 0x6], 1
00004890 6000 04E2 bra +0x4E4 /* 00004D74 */
label00004894:
00004894 082E 0006 FFF0 btst.b [A6 - 0x10], 0x6
0000489A 6606 bne +0x8 /* 000048A2 */
0000489C 3D7C 7FFF FFF2 move.w [A6 - 0xE], 0x7FFF
label000048A2:
000048A2 082E 0007 FFF0 btst.b [A6 - 0x10], 0x7
000048A8 6600 0066 bne +0x68 /* 00004910 */
000048AC 206E 0010 movea.l A0, [A6 + 0x10]
000048B0 58AE 0010 addq.l [A6 + 0x10], 4
000048B4 2850 movea.l A4, [A0]
000048B6 6000 0058 bra +0x5A /* 00004910 */
label000048BA:
000048BA 536E FFF2 subq.w [A6 - 0xE], 1
000048BE 3F07 move.w -[A7], D7
000048C0 4EBA 054C jsr [PC + 0x54C /* 00004E0E */]
000048C4 548F addq.l A7, 2
000048C6 4A40 tst.w D0
000048C8 674C beq +0x4E /* 00004916 */
000048CA 08EE 0003 FFF0 bset.b [A6 - 0x10], 0x3
000048D0 41D4 lea.l A0, [A4]
000048D2 528C addq.l A4, 1
000048D4 1087 move.b [A0], D7
000048D6 4A6E FFF2 tst.w [A6 - 0xE]
000048DA 674A beq +0x4C /* 00004926 */
000048DC 206E 0008 movea.l A0, [A6 + 0x8]
000048E0 2028 0012 move.l D0, [A0 + 0x12]
000048E4 53A8 0012 subq.l [A0 + 0x12], 1
000048E8 4A80 tst.l D0
000048EA 6714 beq +0x16 /* 00004900 */
000048EC 206E 0008 movea.l A0, [A6 + 0x8]
000048F0 2268 000E movea.l A1, [A0 + 0xE]
000048F4 52A8 000E addq.l [A0 + 0xE], 1
000048F8 7000 moveq.l D0, 0x00
000048FA 1011 move.b D0, [A1]
000048FC 48C0 ext.l D0
000048FE 600A bra +0xC /* 0000490A */
label00004900:
00004900 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004904 4EBA BB62 jsr [PC - 0x449E /* 00000468 */]
00004908 588F addq.l A7, 4
label0000490A:
0000490A 3E00 move.w D7, D0
0000490C 526E FFFA addq.w [A6 - 0x6], 1
label00004910:
00004910 0C47 FFFF cmpi.w D7, 0xFFFF
00004914 66A4 bne -0x5A /* 000048BA */
label00004916:
00004916 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000491A 3F07 move.w -[A7], D7
0000491C 4EBA 1012 jsr [PC + 0x1012 /* 00005930 */]
00004920 5C8F addq.l A7, 6
00004922 536E FFFA subq.w [A6 - 0x6], 1
label00004926:
00004926 082E 0003 FFF0 btst.b [A6 - 0x10], 0x3
0000492C 6700 045A beq +0x45C /* 00004D88 */
00004930 082E 0007 FFF0 btst.b [A6 - 0x10], 0x7
00004936 6606 bne +0x8 /* 0000493E */
00004938 4214 clr.b [A4]
0000493A 526E FFFE addq.w [A6 - 0x2], 1
label0000493E:
0000493E 526E FFFC addq.w [A6 - 0x4], 1
00004942 6000 0430 bra +0x432 /* 00004D74 */
label00004946:
00004946 08EE 0002 FFF0 bset.b [A6 - 0x10], 0x2
label0000494C:
0000494C 082E 0005 FFF0 btst.b [A6 - 0x10], 0x5
00004952 670A beq +0xC /* 0000495E */
00004954 206E 0010 movea.l A0, [A6 + 0x10]
00004958 54AE 0010 addq.l [A6 + 0x10], 2
0000495C 3C10 move.w D6, [A0]
label0000495E:
0000495E 426E FFF6 clr.w [A6 - 0xA]
label00004962:
00004962 7800 moveq.l D4, 0x00
label00004964:
00004964 206E 0008 movea.l A0, [A6 + 0x8]
00004968 2028 0012 move.l D0, [A0 + 0x12]
0000496C 53A8 0012 subq.l [A0 + 0x12], 1
00004970 4A80 tst.l D0
00004972 6714 beq +0x16 /* 00004988 */
00004974 206E 0008 movea.l A0, [A6 + 0x8]
00004978 2268 000E movea.l A1, [A0 + 0xE]
0000497C 52A8 000E addq.l [A0 + 0xE], 1
00004980 7000 moveq.l D0, 0x00
00004982 1011 move.b D0, [A1]
00004984 48C0 ext.l D0
00004986 600A bra +0xC /* 00004992 */
label00004988:
00004988 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000498C 4EBA BADA jsr [PC - 0x4526 /* 00000468 */]
00004990 588F addq.l A7, 4
label00004992:
00004992 3E00 move.w D7, D0
00004994 526E FFFA addq.w [A6 - 0x6], 1
00004998 7000 moveq.l D0, 0x00
0000499A 1007 move.b D0, D7
0000499C 41ED FA32 lea.l A0, [A5 - 0x5CE]
000049A0 D0C0 add.w A0, D0
000049A2 1010 move.b D0, [A0]
000049A4 4880 ext.w D0
000049A6 0240 0006 andi.w D0, 0x6
000049AA 4A40 tst.w D0
000049AC 66B6 bne -0x48 /* 00004964 */
000049AE 082E 0006 FFF0 btst.b [A6 - 0x10], 0x6
000049B4 6606 bne +0x8 /* 000049BC */
000049B6 3D7C 7FFF FFF2 move.w [A6 - 0xE], 0x7FFF
label000049BC:
000049BC 426E FFF8 clr.w [A6 - 0x8]
000049C0 6000 01E8 bra +0x1EA /* 00004BAA */
label000049C4:
000049C4 536E FFF2 subq.w [A6 - 0xE], 1
000049C8 302E FFF6 move.w D0, [A6 - 0xA]
000049CC 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
000049D0 FFFE .invalid <<F/7/7>>
000049D2 0003 019C ori.b D3, 0x9C
000049D6 0116 btst [A6], D0
000049D8 00EA .incomplete
000049DA 0008 0024 ori.b A0, 0x24 /* '$' */
000049DE 005E 007A ori.w [A6]+, 0x7A /* 'z' */
000049E2 7001 moveq.l D0, 0x01
000049E4 3D40 FFF6 move.w [A6 - 0xA], D0
000049E8 0C47 002D cmpi.w D7, 0x2D /* '-' */
000049EC 660A bne +0xC /* 000049F8 */
000049EE 08EE 0004 FFF0 bset.b [A6 - 0x10], 0x4
000049F4 6000 017A bra +0x17C /* 00004B70 */
label000049F8:
000049F8 0C47 002B cmpi.w D7, 0x2B /* '+' */
000049FC 6700 0172 beq +0x174 /* 00004B70 */
00004A00 7003 moveq.l D0, 0x03
00004A02 3D40 FFF6 move.w [A6 - 0xA], D0
00004A06 0C47 0030 cmpi.w D7, 0x30 /* '0' */
00004A0A 664E bne +0x50 /* 00004A5A */
00004A0C 08EE 0003 FFF0 bset.b [A6 - 0x10], 0x3
00004A12 4A6E FFF2 tst.w [A6 - 0xE]
00004A16 6700 0158 beq +0x15A /* 00004B70 */
00004A1A 4A46 tst.w D6
00004A1C 660C bne +0xE /* 00004A2A */
00004A1E 7C08 moveq.l D6, 0x08
00004A20 7002 moveq.l D0, 0x02
00004A22 3D40 FFF6 move.w [A6 - 0xA], D0
00004A26 6000 0148 bra +0x14A /* 00004B70 */
label00004A2A:
00004A2A 0C46 0010 cmpi.w D6, 0x10
00004A2E 6600 0140 bne +0x142 /* 00004B70 */
00004A32 7002 moveq.l D0, 0x02
00004A34 3D40 FFF6 move.w [A6 - 0xA], D0
00004A38 6000 0136 bra +0x138 /* 00004B70 */
00004A3C 7003 moveq.l D0, 0x03
00004A3E 3D40 FFF6 move.w [A6 - 0xA], D0
00004A42 0C47 0078 cmpi.w D7, 0x78 /* 'x' */
00004A46 6706 beq +0x8 /* 00004A4E */
00004A48 0C47 0058 cmpi.w D7, 0x58 /* 'X' */
00004A4C 660C bne +0xE /* 00004A5A */
label00004A4E:
00004A4E 7C10 moveq.l D6, 0x10
00004A50 08AE 0003 FFF0 bclr.b [A6 - 0x10], 0x3
00004A56 6000 0118 bra +0x11A /* 00004B70 */
label00004A5A:
00004A5A 3A07 move.w D5, D7
00004A5C 0C45 0030 cmpi.w D5, 0x30 /* '0' */
00004A60 6D0C blt +0xE /* 00004A6E */
00004A62 0C45 0039 cmpi.w D5, 0x39 /* '9' */
00004A66 6E06 bgt +0x8 /* 00004A6E */
00004A68 0645 FFD0 addi.w D5, 0xFFD0
00004A6C 6026 bra +0x28 /* 00004A94 */
label00004A6E:
00004A6E 0C45 0041 cmpi.w D5, 0x41 /* 'A' */
00004A72 6D0C blt +0xE /* 00004A80 */
00004A74 0C45 005A cmpi.w D5, 0x5A /* 'Z' */
00004A78 6E06 bgt +0x8 /* 00004A80 */
00004A7A 0645 FFC9 addi.w D5, 0xFFC9
00004A7E 6014 bra +0x16 /* 00004A94 */
label00004A80:
00004A80 0C45 0061 cmpi.w D5, 0x61 /* 'a' */
00004A84 6D00 012C blt +0x12E /* 00004BB2 */
00004A88 0C45 007A cmpi.w D5, 0x7A /* 'z' */
00004A8C 6E00 0124 bgt +0x126 /* 00004BB2 */
00004A90 0645 FFA9 addi.w D5, 0xFFA9
label00004A94:
00004A94 4A46 tst.w D6
00004A96 6602 bne +0x4 /* 00004A9A */
00004A98 7C0A moveq.l D6, 0x0A
label00004A9A:
00004A9A BA46 cmp.w D5, D6
00004A9C 6C00 0114 bge +0x116 /* 00004BB2 */
00004AA0 2004 move.l D0, D4
00004AA2 4840 swap.w D0
00004AA4 C0C6 mulu.w D0, D6
00004AA6 4840 swap.w D0
00004AA8 4A40 tst.w D0
00004AAA 6608 bne +0xA /* 00004AB4 */
00004AAC 3005 move.w D0, D5
00004AAE C8C6 mulu.w D4, D6
00004AB0 D880 add.l D4, D0
00004AB2 6404 bcc +0x6 /* 00004AB8 */
label00004AB4:
00004AB4 50EE FFF8 st [A6 - 0x8]
label00004AB8:
00004AB8 08EE 0003 FFF0 bset.b [A6 - 0x10], 0x3
00004ABE 6000 00B0 bra +0xB2 /* 00004B70 */
00004AC2 70FE moveq.l D0, 0xFFFFFFFE
00004AC4 3D40 FFF6 move.w [A6 - 0xA], D0
00004AC8 426E FFDA clr.w [A6 - 0x26]
00004ACC 422E FFDC clr.b [A6 - 0x24]
00004AD0 0C47 002D cmpi.w D7, 0x2D /* '-' */
00004AD4 660A bne +0xC /* 00004AE0 */
00004AD6 7001 moveq.l D0, 0x01
00004AD8 1D40 FFD8 move.b [A6 - 0x28], D0
00004ADC 6000 0092 bra +0x94 /* 00004B70 */
label00004AE0:
00004AE0 422E FFD8 clr.b [A6 - 0x28]
00004AE4 0C47 002B cmpi.w D7, 0x2B /* '+' */
00004AE8 6700 0086 beq +0x88 /* 00004B70 */
00004AEC 0C47 0030 cmpi.w D7, 0x30 /* '0' */
00004AF0 6D44 blt +0x46 /* 00004B36 */
00004AF2 0C47 0039 cmpi.w D7, 0x39 /* '9' */
00004AF6 6E3E bgt +0x40 /* 00004B36 */
00004AF8 08EE 0003 FFF0 bset.b [A6 - 0x10], 0x3
00004AFE 0C47 0030 cmpi.w D7, 0x30 /* '0' */
00004B02 6608 bne +0xA /* 00004B0C */
00004B04 4A2E FFDC tst.b [A6 - 0x24]
00004B08 6700 0066 beq +0x68 /* 00004B70 */
label00004B0C:
00004B0C 0C2E 0013 FFDC cmpi.b [A6 - 0x24], 0x13
00004B12 6C14 bge +0x16 /* 00004B28 */
00004B14 522E FFDC addq.b [A6 - 0x24], 1
00004B18 102E FFDC move.b D0, [A6 - 0x24]
00004B1C 4880 ext.w D0
00004B1E 48C0 ext.l D0
00004B20 D08E add.l D0, A6
00004B22 2040 movea.l A0, D0
00004B24 1147 FFDC move.b [A0 - 0x24], D7
label00004B28:
00004B28 082E 0000 FFF0 btst.b [A6 - 0x10], 0x0
00004B2E 6740 beq +0x42 /* 00004B70 */
00004B30 536E FFDA subq.w [A6 - 0x26], 1
00004B34 603A bra +0x3C /* 00004B70 */
label00004B36:
00004B36 0C47 002E cmpi.w D7, 0x2E /* '.' */
00004B3A 6610 bne +0x12 /* 00004B4C */
00004B3C 082E 0000 FFF0 btst.b [A6 - 0x10], 0x0
00004B42 6608 bne +0xA /* 00004B4C */
00004B44 08EE 0000 FFF0 bset.b [A6 - 0x10], 0x0
00004B4A 6024 bra +0x26 /* 00004B70 */
label00004B4C:
00004B4C 0C47 0065 cmpi.w D7, 0x65 /* 'e' */
00004B50 6708 beq +0xA /* 00004B5A */
00004B52 0C47 0045 cmpi.w D7, 0x45 /* 'E' */
00004B56 6600 005A bne +0x5C /* 00004BB2 */
label00004B5A:
00004B5A 082E 0003 FFF0 btst.b [A6 - 0x10], 0x3
00004B60 6700 0050 beq +0x52 /* 00004BB2 */
00004B64 7C0A moveq.l D6, 0x0A
00004B66 08AE 0003 FFF0 bclr.b [A6 - 0x10], 0x3
00004B6C 426E FFF6 clr.w [A6 - 0xA]
label00004B70:
00004B70 4A6E FFF2 tst.w [A6 - 0xE]
00004B74 674C beq +0x4E /* 00004BC2 */
00004B76 206E 0008 movea.l A0, [A6 + 0x8]
00004B7A 2028 0012 move.l D0, [A0 + 0x12]
00004B7E 53A8 0012 subq.l [A0 + 0x12], 1
00004B82 4A80 tst.l D0
00004B84 6714 beq +0x16 /* 00004B9A */
00004B86 206E 0008 movea.l A0, [A6 + 0x8]
00004B8A 2268 000E movea.l A1, [A0 + 0xE]
00004B8E 52A8 000E addq.l [A0 + 0xE], 1
00004B92 7000 moveq.l D0, 0x00
00004B94 1011 move.b D0, [A1]
00004B96 48C0 ext.l D0
00004B98 600A bra +0xC /* 00004BA4 */
label00004B9A:
00004B9A 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004B9E 4EBA B8C8 jsr [PC - 0x4738 /* 00000468 */]
00004BA2 588F addq.l A7, 4
label00004BA4:
00004BA4 3E00 move.w D7, D0
00004BA6 526E FFFA addq.w [A6 - 0x6], 1
label00004BAA:
00004BAA 0C47 FFFF cmpi.w D7, 0xFFFF
00004BAE 6600 FE14 bne -0x1EA /* 000049C4 */
label00004BB2:
00004BB2 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004BB6 3F07 move.w -[A7], D7
00004BB8 4EBA 0D76 jsr [PC + 0xD76 /* 00005930 */]
00004BBC 5C8F addq.l A7, 6
00004BBE 536E FFFA subq.w [A6 - 0x6], 1
label00004BC2:
00004BC2 082E 0003 FFF0 btst.b [A6 - 0x10], 0x3
00004BC8 6700 01BE beq +0x1C0 /* 00004D88 */
00004BCC 082E 0004 FFF0 btst.b [A6 - 0x10], 0x4
00004BD2 671E beq +0x20 /* 00004BF2 */
00004BD4 4A84 tst.l D4
00004BD6 671A beq +0x1C /* 00004BF2 */
00004BD8 2004 move.l D0, D4
00004BDA 4480 neg.l D0
00004BDC 2800 move.l D4, D0
00004BDE 082E 0002 FFF0 btst.b [A6 - 0x10], 0x2
00004BE4 6604 bne +0x6 /* 00004BEA */
00004BE6 4A84 tst.l D4
00004BE8 6F1A ble +0x1C /* 00004C04 */
label00004BEA:
00004BEA 7001 moveq.l D0, 0x01
00004BEC 3D40 FFF8 move.w [A6 - 0x8], D0
00004BF0 6012 bra +0x14 /* 00004C04 */
label00004BF2:
00004BF2 082E 0002 FFF0 btst.b [A6 - 0x10], 0x2
00004BF8 660A bne +0xC /* 00004C04 */
00004BFA 4A84 tst.l D4
00004BFC 6C06 bge +0x8 /* 00004C04 */
00004BFE 7001 moveq.l D0, 0x01
00004C00 3D40 FFF8 move.w [A6 - 0x8], D0
label00004C04:
00004C04 082E 0001 FFF0 btst.b [A6 - 0x10], 0x1
00004C0A 6716 beq +0x18 /* 00004C22 */
00004C0C 306E FFDA movea.w A0, [A6 - 0x26]
00004C10 D888 add.l D4, A0
00004C12 6906 bvs +0x8 /* 00004C1A */
00004C14 2044 movea.l A0, D4
00004C16 B0C8 cmpa.w A0, A0
00004C18 6764 beq +0x66 /* 00004C7E */
label00004C1A:
00004C1A 50EE FFF8 st [A6 - 0x8]
00004C1E 6000 005E bra +0x60 /* 00004C7E */
label00004C22:
00004C22 082E 0007 FFF1 btst.b [A6 - 0xF], 0x7
00004C28 6728 beq +0x2A /* 00004C52 */
00004C2A 082E 0002 FFF0 btst.b [A6 - 0x10], 0x2
00004C30 6712 beq +0x14 /* 00004C44 */
00004C32 7000 moveq.l D0, 0x00
00004C34 3004 move.w D0, D4
00004C36 B084 cmp.l D0, D4
00004C38 6700 0044 beq +0x46 /* 00004C7E */
00004C3C 7001 moveq.l D0, 0x01
00004C3E 3D40 FFF8 move.w [A6 - 0x8], D0
00004C42 603A bra +0x3C /* 00004C7E */
label00004C44:
00004C44 3044 movea.w A0, D4
00004C46 B1C4 cmpa.l A0, D4
00004C48 6734 beq +0x36 /* 00004C7E */
00004C4A 7001 moveq.l D0, 0x01
00004C4C 3D40 FFF8 move.w [A6 - 0x8], D0
00004C50 602C bra +0x2E /* 00004C7E */
label00004C52:
00004C52 082E 0006 FFF1 btst.b [A6 - 0xF], 0x6
00004C58 6624 bne +0x26 /* 00004C7E */
00004C5A 082E 0002 FFF0 btst.b [A6 - 0x10], 0x2
00004C60 6710 beq +0x12 /* 00004C72 */
00004C62 7000 moveq.l D0, 0x00
00004C64 3004 move.w D0, D4
00004C66 B084 cmp.l D0, D4
00004C68 6714 beq +0x16 /* 00004C7E */
00004C6A 7001 moveq.l D0, 0x01
00004C6C 3D40 FFF8 move.w [A6 - 0x8], D0
00004C70 600C bra +0xE /* 00004C7E */
label00004C72:
00004C72 3044 movea.w A0, D4
00004C74 B1C4 cmpa.l A0, D4
00004C76 6706 beq +0x8 /* 00004C7E */
00004C78 7001 moveq.l D0, 0x01
00004C7A 3D40 FFF8 move.w [A6 - 0x8], D0
label00004C7E:
00004C7E 4A6E FFF8 tst.w [A6 - 0x8]
00004C82 6700 0058 beq +0x5A /* 00004CDC */
00004C86 082E 0002 FFF0 btst.b [A6 - 0x10], 0x2
00004C8C 6704 beq +0x6 /* 00004C92 */
00004C8E 7800 moveq.l D4, 0x00
00004C90 602E bra +0x30 /* 00004CC0 */
label00004C92:
00004C92 082E 0007 FFF1 btst.b [A6 - 0xF], 0x7
00004C98 6608 bne +0xA /* 00004CA2 */
00004C9A 082E 0001 FFF0 btst.b [A6 - 0x10], 0x1
00004CA0 6708 beq +0xA /* 00004CAA */
label00004CA2:
00004CA2 283C FFFF 8000 move.l D4, 0xFFFF8000
00004CA8 6016 bra +0x18 /* 00004CC0 */
label00004CAA:
00004CAA 082E 0006 FFF1 btst.b [A6 - 0xF], 0x6
00004CB0 6708 beq +0xA /* 00004CBA */
00004CB2 283C 8000 0000 move.l D4, 0x80000000
00004CB8 6006 bra +0x8 /* 00004CC0 */
label00004CBA:
00004CBA 283C FFFF 8000 move.l D4, 0xFFFF8000
label00004CC0:
00004CC0 082E 0004 FFF0 btst.b [A6 - 0x10], 0x4
00004CC6 6606 bne +0x8 /* 00004CCE */
00004CC8 2004 move.l D0, D4
00004CCA 4680 not.l D0
00004CCC 2800 move.l D4, D0
label00004CCE:
00004CCE 082E 0001 FFF0 btst.b [A6 - 0x10], 0x1
00004CD4 6606 bne +0x8 /* 00004CDC */
00004CD6 7022 moveq.l D0, 0x22
00004CD8 3B40 FB32 move.w [A5 - 0x4CE], D0
label00004CDC:
00004CDC 082E 0007 FFF0 btst.b [A6 - 0x10], 0x7
00004CE2 6600 008C bne +0x8E /* 00004D70 */
00004CE6 206E 0010 movea.l A0, [A6 + 0x10]
00004CEA 58AE 0010 addq.l [A6 + 0x10], 4
00004CEE 2850 movea.l A4, [A0]
00004CF0 082E 0001 FFF0 btst.b [A6 - 0x10], 0x1
00004CF6 6700 005A beq +0x5C /* 00004D52 */
00004CFA 3D44 FFDA move.w [A6 - 0x26], D4
00004CFE 082E 0006 FFF1 btst.b [A6 - 0xF], 0x6
00004D04 6608 bne +0xA /* 00004D0E */
00004D06 082E 0005 FFF1 btst.b [A6 - 0xF], 0x5
00004D0C 6714 beq +0x16 /* 00004D22 */
label00004D0E:
00004D0E 2F0C move.l -[A7], A4
00004D10 486E FFD8 pea.l [A6 - 0x28]
00004D14 4267 clr.w -[A7]
00004D16 4EBA 011A jsr [PC + 0x11A /* 00004E32 */]
00004D1A 4FEF 000A lea.l A7, [A7 + 0xA]
00004D1E 6000 004C bra +0x4E /* 00004D6C */
label00004D22:
00004D22 082E 0007 FFF1 btst.b [A6 - 0xF], 0x7
00004D28 6714 beq +0x16 /* 00004D3E */
00004D2A 2F0C move.l -[A7], A4
00004D2C 486E FFD8 pea.l [A6 - 0x28]
00004D30 3F3C 0800 move.w -[A7], 0x800
00004D34 4EBA 00FC jsr [PC + 0xFC /* 00004E32 */]
00004D38 4FEF 000A lea.l A7, [A7 + 0xA]
00004D3C 602E bra +0x30 /* 00004D6C */
label00004D3E:
00004D3E 2F0C move.l -[A7], A4
00004D40 486E FFD8 pea.l [A6 - 0x28]
00004D44 3F3C 1000 move.w -[A7], 0x1000
00004D48 4EBA 00E8 jsr [PC + 0xE8 /* 00004E32 */]
00004D4C 4FEF 000A lea.l A7, [A7 + 0xA]
00004D50 601A bra +0x1C /* 00004D6C */
label00004D52:
00004D52 082E 0006 FFF1 btst.b [A6 - 0xF], 0x6
00004D58 6704 beq +0x6 /* 00004D5E */
00004D5A 2884 move.l [A4], D4
00004D5C 600E bra +0x10 /* 00004D6C */
label00004D5E:
00004D5E 082E 0007 FFF1 btst.b [A6 - 0xF], 0x7
00004D64 6704 beq +0x6 /* 00004D6A */
00004D66 3884 move.w [A4], D4
00004D68 6002 bra +0x4 /* 00004D6C */
label00004D6A:
00004D6A 3884 move.w [A4], D4
label00004D6C:
00004D6C 526E FFFE addq.w [A6 - 0x2], 1
label00004D70:
00004D70 526E FFFC addq.w [A6 - 0x4], 1
label00004D74:
00004D74 52AE 000C addq.l [A6 + 0xC], 1
00004D78 206E 000C movea.l A0, [A6 + 0xC]
00004D7C 1010 move.b D0, [A0]
00004D7E 4880 ext.w D0
00004D80 3E00 move.w D7, D0
label00004D82:
00004D82 4A47 tst.w D7
00004D84 6600 F6AE bne -0x950 /* 00004434 */
label00004D88:
00004D88 4A6E FFFC tst.w [A6 - 0x4]
00004D8C 660A bne +0xC /* 00004D98 */
00004D8E 0C47 FFFF cmpi.w D7, 0xFFFF
00004D92 6604 bne +0x6 /* 00004D98 */
00004D94 70FF moveq.l D0, 0xFFFFFFFF
00004D96 6004 bra +0x6 /* 00004D9C */
label00004D98:
00004D98 302E FFFE move.w D0, [A6 - 0x2]
label00004D9C:
00004D9C 4CDF 10F0 movem.l D4,D5,D6,D7,A4, [A7]+
00004DA0 4E5E unlink A6
00004DA2 4E75 rts
fn00004DA4:
00004DA4 4E56 0000 link A6, 0
00004DA8 41ED FDEC lea.l A0, [A5 - 0x214]
00004DAC 7000 moveq.l D0, 0x00
00004DAE 20C0 move.l [A0]+, D0
00004DB0 20C0 move.l [A0]+, D0
00004DB2 20C0 move.l [A0]+, D0
00004DB4 20C0 move.l [A0]+, D0
00004DB6 20C0 move.l [A0]+, D0
00004DB8 20C0 move.l [A0]+, D0
00004DBA 20C0 move.l [A0]+, D0
00004DBC 20C0 move.l [A0]+, D0
00004DBE 4A6E 0008 tst.w [A6 + 0x8]
00004DC2 6710 beq +0x12 /* 00004DD4 */
00004DC4 703E moveq.l D0, 0x3E
00004DC6 1B40 FDED move.b [A5 - 0x213], D0
00004DCA 7001 moveq.l D0, 0x01
00004DCC 1B40 FDF0 move.b [A5 - 0x210], D0
00004DD0 4EBA 0026 jsr [PC + 0x26 /* 00004DF8 */]
label00004DD4:
00004DD4 4E5E unlink A6
00004DD6 4E75 rts
fn00004DD8:
00004DD8 4E56 0000 link A6, 0
00004DDC 302E 0008 move.w D0, [A6 + 0x8]
00004DE0 E640 asr D0.w, 3
00004DE2 41ED FDEC lea.l A0, [A5 - 0x214]
00004DE6 D0C0 add.w A0, D0
00004DE8 7007 moveq.l D0, 0x07
00004DEA C06E 0008 and.w D0, [A6 + 0x8]
00004DEE 7201 moveq.l D1, 0x01
00004DF0 E169 lsl D1.w, D0
00004DF2 8310 or.b [A0], D1
00004DF4 4E5E unlink A6
00004DF6 4E75 rts
fn00004DF8:
00004DF8 41ED FDEC lea.l A0, [A5 - 0x214]
00004DFC 4698 not.l [A0]+
00004DFE 4698 not.l [A0]+
00004E00 4698 not.l [A0]+
00004E02 4698 not.l [A0]+
00004E04 4698 not.l [A0]+
00004E06 4698 not.l [A0]+
00004E08 4698 not.l [A0]+
00004E0A 4698 not.l [A0]+
00004E0C 4E75 rts
fn00004E0E:
00004E0E 4E56 0000 link A6, 0
00004E12 302E 0008 move.w D0, [A6 + 0x8]
00004E16 E640 asr D0.w, 3
00004E18 41ED FDEC lea.l A0, [A5 - 0x214]
00004E1C D0C0 add.w A0, D0
00004E1E 7007 moveq.l D0, 0x07
00004E20 C06E 0008 and.w D0, [A6 + 0x8]
00004E24 7201 moveq.l D1, 0x01
00004E26 E169 lsl D1.w, D0
00004E28 1010 move.b D0, [A0]
00004E2A 4880 ext.w D0
00004E2C C041 and.w D0, D1
00004E2E 4E5E unlink A6
00004E30 4E75 rts
fn00004E32:
00004E32 4E56 FFFA link A6, -0x0006
00004E36 48E7 0018 movem.l -[A7], A3,A4
00004E3A 286E 000A movea.l A4, [A6 + 0xA]
00004E3E 7030 moveq.l D0, 0x30
00004E40 3D40 FFFA move.w [A6 - 0x6], D0
00004E44 266E 000E movea.l A3, [A6 + 0xE]
00004E48 41EB 0002 lea.l A0, [A3 + 0x2]
00004E4C 2D48 000E move.l [A6 + 0xE], A0
00004E50 486E FFFE pea.l [A6 - 0x2]
00004E54 3F3C 0017 move.w -[A7], 0x17
00004E58 A9EB syscall Pack4/FP68K
00004E5A 4A2C 0004 tst.b [A4 + 0x4]
00004E5E 6700 0070 beq +0x72 /* 00004ED0 */
00004E62 2F0C move.l -[A7], A4
00004E64 2F2E 000E move.l -[A7], [A6 + 0xE]
00004E68 302E 0008 move.w D0, [A6 + 0x8]
00004E6C 0640 0009 addi.w D0, 0x9 /* '\t' */
00004E70 3F00 move.w -[A7], D0
00004E72 A9EB syscall Pack4/FP68K
00004E74 486E FFFE pea.l [A6 - 0x2]
00004E78 3F3C 0003 move.w -[A7], 0x3
00004E7C A9EB syscall Pack4/FP68K
00004E7E 2F2E 000E move.l -[A7], [A6 + 0xE]
00004E82 486E FFFC pea.l [A6 - 0x4]
00004E86 302E 0008 move.w D0, [A6 + 0x8]
00004E8A 0640 001C addi.w D0, 0x1C
00004E8E 3F00 move.w -[A7], D0
00004E90 A9EB syscall Pack4/FP68K
00004E92 4A6E FFFC tst.w [A6 - 0x4]
00004E96 6C0A bge +0xC /* 00004EA2 */
00004E98 302E FFFC move.w D0, [A6 - 0x4]
00004E9C 4440 neg.w D0
00004E9E 3D40 FFFC move.w [A6 - 0x4], D0
label00004EA2:
00004EA2 0C6E 0003 FFFC cmpi.w [A6 - 0x4], 0x3
00004EA8 6708 beq +0xA /* 00004EB2 */
00004EAA 082E 0002 FFFE btst.b [A6 - 0x2], 0x2
00004EB0 6708 beq +0xA /* 00004EBA */
label00004EB2:
00004EB2 7049 moveq.l D0, 0x49
00004EB4 3D40 FFFA move.w [A6 - 0x6], D0
00004EB8 6010 bra +0x12 /* 00004ECA */
label00004EBA:
00004EBA 0C6E 0005 FFFC cmpi.w [A6 - 0x4], 0x5
00004EC0 6608 bne +0xA /* 00004ECA */
00004EC2 082E 0001 FFFE btst.b [A6 - 0x2], 0x1
00004EC8 6732 beq +0x34 /* 00004EFC */
label00004ECA:
00004ECA 7022 moveq.l D0, 0x22
00004ECC 3B40 FB32 move.w [A5 - 0x4CE], D0
label00004ED0:
00004ED0 0C6E 0030 FFFA cmpi.w [A6 - 0x6], 0x30 /* '0' */
00004ED6 6602 bne +0x4 /* 00004EDA */
00004ED8 4214 clr.b [A4]
label00004EDA:
00004EDA 426C 0002 clr.w [A4 + 0x2]
00004EDE 7001 moveq.l D0, 0x01
00004EE0 1940 0004 move.b [A4 + 0x4], D0
00004EE4 196E FFFB 0005 move.b [A4 + 0x5], [A6 - 0x5]
00004EEA 2F0C move.l -[A7], A4
00004EEC 2F2E 000E move.l -[A7], [A6 + 0xE]
00004EF0 302E 0008 move.w D0, [A6 + 0x8]
00004EF4 0640 0009 addi.w D0, 0x9 /* '\t' */
00004EF8 3F00 move.w -[A7], D0
00004EFA A9EB syscall Pack4/FP68K
label00004EFC:
00004EFC 36AB 0002 move.w [A3], [A3 + 0x2]
00004F00 426B 0002 clr.w [A3 + 0x2]
00004F04 4CDF 1800 movem.l A3,A4, [A7]+
00004F08 4E5E unlink A6
00004F0A 4E75 rts
00004F0C 4E56 FFFC link A6, -0x0004
00004F10 4A6E 0008 tst.w [A6 + 0x8]
00004F14 6F08 ble +0xA /* 00004F1E */
00004F16 0C6E 0006 0008 cmpi.w [A6 + 0x8], 0x6
00004F1C 6F0A ble +0xC /* 00004F28 */
label00004F1E:
00004F1E 7016 moveq.l D0, 0x16
00004F20 3B40 FB32 move.w [A5 - 0x4CE], D0
00004F24 70FF moveq.l D0, 0xFFFFFFFF
00004F26 6028 bra +0x2A /* 00004F50 */
label00004F28:
00004F28 302E 0008 move.w D0, [A6 + 0x8]
00004F2C 48C0 ext.l D0
00004F2E E580 asl D0, 2
00004F30 41ED FE0C lea.l A0, [A5 - 0x1F4]
00004F34 D1C0 add.l A0, D0
00004F36 2D50 FFFC move.l [A6 - 0x4], [A0]
00004F3A 302E 0008 move.w D0, [A6 + 0x8]
00004F3E 48C0 ext.l D0
00004F40 E580 asl D0, 2
00004F42 41ED FE0C lea.l A0, [A5 - 0x1F4]
00004F46 D1C0 add.l A0, D0
00004F48 20AE 000A move.l [A0], [A6 + 0xA]
00004F4C 202E FFFC move.l D0, [A6 - 0x4]
label00004F50:
00004F50 4E5E unlink A6
00004F52 4E75 rts
fn00004F54:
00004F54 4E56 FFFC link A6, -0x0004
00004F58 4A6E 0008 tst.w [A6 + 0x8]
00004F5C 6F08 ble +0xA /* 00004F66 */
00004F5E 0C6E 0006 0008 cmpi.w [A6 + 0x8], 0x6
00004F64 6F0A ble +0xC /* 00004F70 */
label00004F66:
00004F66 7016 moveq.l D0, 0x16
00004F68 3B40 FB32 move.w [A5 - 0x4CE], D0
00004F6C 70FF moveq.l D0, 0xFFFFFFFF
00004F6E 6042 bra +0x44 /* 00004FB2 */
label00004F70:
00004F70 302E 0008 move.w D0, [A6 + 0x8]
00004F74 48C0 ext.l D0
00004F76 E580 asl D0, 2
00004F78 41ED FE0C lea.l A0, [A5 - 0x1F4]
00004F7C D1C0 add.l A0, D0
00004F7E 2D50 FFFC move.l [A6 - 0x4], [A0]
00004F82 0CAE 0000 0001 FFFC cmpi.l [A6 - 0x4], 0x1
00004F8A 6724 beq +0x26 /* 00004FB0 */
00004F8C 302E 0008 move.w D0, [A6 + 0x8]
00004F90 48C0 ext.l D0
00004F92 E580 asl D0, 2
00004F94 41ED FE0C lea.l A0, [A5 - 0x1F4]
00004F98 D1C0 add.l A0, D0
00004F9A 4290 clr.l [A0]
00004F9C 4AAE FFFC tst.l [A6 - 0x4]
00004FA0 6602 bne +0x4 /* 00004FA4 */
00004FA2 A9F4 syscall ExitToShell
label00004FA4:
00004FA4 3F2E 0008 move.w -[A7], [A6 + 0x8]
00004FA8 206E FFFC movea.l A0, [A6 - 0x4]
00004FAC 4E90 jsr [A0]
00004FAE 548F addq.l A7, 2
label00004FB0:
00004FB0 7000 moveq.l D0, 0x00
label00004FB2:
00004FB2 4E5E unlink A6
00004FB4 4E75 rts
00004FB6 3F3C 0001 move.w -[A7], 0x1
00004FBA 4EBA FF98 jsr [PC - 0x68 /* 00004F54 */]
00004FBE 548F addq.l A7, 2
00004FC0 A9F4 syscall ExitToShell
00004FC2 4E75 rts
fn00004FC4:
00004FC4 4E56 0000 link A6, 0
00004FC8 206E 0008 movea.l A0, [A6 + 0x8]
00004FCC 0810 0007 btst.b [A0], 0x7
00004FD0 6704 beq +0x6 /* 00004FD6 */
00004FD2 4EBA BF96 jsr [PC - 0x406A /* 00000F6A */]
label00004FD6:
00004FD6 206E 0008 movea.l A0, [A6 + 0x8]
00004FDA 4A68 0004 tst.w [A0 + 0x4]
00004FDE 662C bne +0x2E /* 0000500C */
00004FE0 206E 0008 movea.l A0, [A6 + 0x8]
00004FE4 5488 addq.l A0, 2
00004FE6 226E 0008 movea.l A1, [A6 + 0x8]
00004FEA 2348 0006 move.l [A1 + 0x6], A0
00004FEE 226E 0008 movea.l A1, [A6 + 0x8]
00004FF2 2348 000E move.l [A1 + 0xE], A0
00004FF6 206E 0008 movea.l A0, [A6 + 0x8]
00004FFA 7001 moveq.l D0, 0x01
00004FFC 2140 000A move.l [A0 + 0xA], D0
00005000 41ED 015A lea.l A0, [A5 + 0x15A /* export_39 */]
00005004 226E 0008 movea.l A1, [A6 + 0x8]
00005008 2348 0022 move.l [A1 + 0x22], A0
label0000500C:
0000500C 202E 0008 move.l D0, [A6 + 0x8]
00005010 4E5E unlink A6
00005012 4E75 rts
fn00005014:
00005014 4E56 0000 link A6, 0
00005018 48E7 0018 movem.l -[A7], A3,A4
0000501C 286E 0008 movea.l A4, [A6 + 0x8]
00005020 266E 000C movea.l A3, [A6 + 0xC]
00005024 204B movea.l A0, A3
00005026 50C1 st D1
label00005028:
00005028 16C0 move.b [A3]+, D0
0000502A 5201 addq.b D1, 1
0000502C 101C move.b D0, [A4]+
0000502E 66F8 bne -0x6 /* 00005028 */
00005030 1081 move.b [A0], D1
00005032 2008 move.l D0, A0
00005034 4CDF 1800 movem.l A3,A4, [A7]+
00005038 4E5E unlink A6
0000503A 4E75 rts
fn0000503C:
0000503C 4E56 0000 link A6, 0
00005040 2F2E 000C move.l -[A7], [A6 + 0xC]
00005044 4EBA 029A jsr [PC + 0x29A /* 000052E0 */]
00005048 588F addq.l A7, 4
0000504A 2F00 move.l -[A7], D0
0000504C 2F2E 000C move.l -[A7], [A6 + 0xC]
00005050 2F2E 0008 move.l -[A7], [A6 + 0x8]
00005054 4EBA 0036 jsr [PC + 0x36 /* 0000508C */]
00005058 4FEF 000C lea.l A7, [A7 + 0xC]
0000505C 202E 0008 move.l D0, [A6 + 0x8]
00005060 4E5E unlink A6
00005062 4E75 rts
fn00005064:
00005064 4E56 0000 link A6, 0
00005068 2F0C move.l -[A7], A4
0000506A 286E 0008 movea.l A4, [A6 + 0x8]
0000506E 4878 FFFF push.l 0xFFFF
00005072 2F2E 000C move.l -[A7], [A6 + 0xC]
00005076 2F0C move.l -[A7], A4
00005078 4EBA 0012 jsr [PC + 0x12 /* 0000508C */]
0000507C 4FEF 000C lea.l A7, [A7 + 0xC]
00005080 08D4 0003 bset.b [A4], 0x3
00005084 200C move.l D0, A4
00005086 285F movea.l A4, [A7]+
00005088 4E5E unlink A6
0000508A 4E75 rts
fn0000508C:
0000508C 4E56 0000 link A6, 0
00005090 2F0C move.l -[A7], A4
00005092 286E 0008 movea.l A4, [A6 + 0x8]
00005096 4878 0026 push.l 0x26 /* '&' */
0000509A 4267 clr.w -[A7]
0000509C 2F0C move.l -[A7], A4
0000509E 4EBA E622 jsr [PC - 0x19DE /* 000036C2 */]
000050A2 4FEF 000A lea.l A7, [A7 + 0xA]
000050A6 70FF moveq.l D0, 0xFFFFFFFF
000050A8 3940 0004 move.w [A4 + 0x4], D0
000050AC 296E 000C 000E move.l [A4 + 0xE], [A6 + 0xC]
000050B2 296E 0010 0012 move.l [A4 + 0x12], [A6 + 0x10]
000050B8 41ED 015A lea.l A0, [A5 + 0x15A /* export_39 */]
000050BC 2948 0022 move.l [A4 + 0x22], A0
000050C0 285F movea.l A4, [A7]+
000050C2 4E5E unlink A6
000050C4 4E75 rts
export_39:
000050C6 4E56 0000 link A6, 0
000050CA 70FF moveq.l D0, 0xFFFFFFFF
000050CC 4E5E unlink A6
000050CE 4E75 rts
export_40:
fn000050D0:
000050D0 4E56 0000 link A6, 0
000050D4 486E 0010 pea.l [A6 + 0x10]
000050D8 2F2E 000C move.l -[A7], [A6 + 0xC]
000050DC 2F2E 0008 move.l -[A7], [A6 + 0x8]
000050E0 4EBA 000A jsr [PC + 0xA /* 000050EC */]
000050E4 4FEF 000C lea.l A7, [A7 + 0xC]
000050E8 4E5E unlink A6
000050EA 4E75 rts
fn000050EC:
000050EC 4E56 FFD8 link A6, -0x0028
000050F0 2F2E 0008 move.l -[A7], [A6 + 0x8]
000050F4 486E FFDA pea.l [A6 - 0x26]
000050F8 4EBA FF6A jsr [PC - 0x96 /* 00005064 */]
000050FC 508F addq.l A7, 8
000050FE 2F2E 0010 move.l -[A7], [A6 + 0x10]
00005102 2F2E 000C move.l -[A7], [A6 + 0xC]
00005106 2F00 move.l -[A7], D0
00005108 4EBA E5D0 jsr [PC - 0x1A30 /* 000036DA */]
0000510C 4FEF 000C lea.l A7, [A7 + 0xC]
00005110 3D40 FFD8 move.w [A6 - 0x28], D0
00005114 4A40 tst.w D0
00005116 6D0A blt +0xC /* 00005122 */
00005118 306E FFD8 movea.w A0, [A6 - 0x28]
0000511C D1EE 0008 add.l A0, [A6 + 0x8]
00005120 4210 clr.b [A0]
label00005122:
00005122 302E FFD8 move.w D0, [A6 - 0x28]
00005126 4E5E unlink A6
00005128 4E75 rts
export_41:
0000512A 4E56 0000 link A6, 0
0000512E 486E 0010 pea.l [A6 + 0x10]
00005132 2F2E 000C move.l -[A7], [A6 + 0xC]
00005136 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000513A 4EBA 000A jsr [PC + 0xA /* 00005146 */]
0000513E 4FEF 000C lea.l A7, [A7 + 0xC]
00005142 4E5E unlink A6
00005144 4E75 rts
fn00005146:
00005146 4E56 FFDA link A6, -0x0026
0000514A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000514E 486E FFDA pea.l [A6 - 0x26]
00005152 4EBA FEE8 jsr [PC - 0x118 /* 0000503C */]
00005156 508F addq.l A7, 8
00005158 2F2E 0010 move.l -[A7], [A6 + 0x10]
0000515C 2F2E 000C move.l -[A7], [A6 + 0xC]
00005160 2F00 move.l -[A7], D0
00005162 4EBA F2AE jsr [PC - 0xD52 /* 00004412 */]
00005166 4FEF 000C lea.l A7, [A7 + 0xC]
0000516A 4E5E unlink A6
0000516C 4E75 rts
fn0000516E:
0000516E 4E56 0000 link A6, 0
00005172 206E 0008 movea.l A0, [A6 + 0x8]
00005176 4267 clr.w -[A7]
00005178 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000517C 2068 0022 movea.l A0, [A0 + 0x22]
00005180 4E90 jsr [A0]
00005182 5C8F addq.l A7, 6
00005184 4E5E unlink A6
00005186 4E75 rts
fn00005188:
00005188 4E56 0000 link A6, 0
0000518C 206E 0008 movea.l A0, [A6 + 0x8]
00005190 3F3C 0001 move.w -[A7], 0x1
00005194 2F2E 0008 move.l -[A7], [A6 + 0x8]
00005198 2068 0022 movea.l A0, [A0 + 0x22]
0000519C 4E90 jsr [A0]
0000519E 5C8F addq.l A7, 6
000051A0 4E5E unlink A6
000051A2 4E75 rts
fn000051A4:
000051A4 4E56 0000 link A6, 0
000051A8 206E 0008 movea.l A0, [A6 + 0x8]
000051AC 3F3C 0002 move.w -[A7], 0x2
000051B0 2F2E 0008 move.l -[A7], [A6 + 0x8]
000051B4 2068 0022 movea.l A0, [A0 + 0x22]
000051B8 4E90 jsr [A0]
000051BA 5C8F addq.l A7, 6
000051BC 4E5E unlink A6
000051BE 4E75 rts
export_45:
000051C0 206F 0004 movea.l A0, [A7 + 0x4]
000051C4 226F 0008 movea.l A1, [A7 + 0x8]
000051C8 2008 move.l D0, A0
label000051CA:
000051CA 10D9 move.b [A0]+, [A1]+
000051CC 66FC bne -0x2 /* 000051CA */
000051CE 4E75 rts
000051D0 206F 0004 movea.l A0, [A7 + 0x4]
000051D4 226F 0008 movea.l A1, [A7 + 0x8]
000051D8 2008 move.l D0, A0
label000051DA:
000051DA 4A18 tst.b [A0]+
000051DC 66FC bne -0x2 /* 000051DA */
000051DE 5388 subq.l A0, 1
label000051E0:
000051E0 10D9 move.b [A0]+, [A1]+
000051E2 66FC bne -0x2 /* 000051E0 */
000051E4 4E75 rts
export_43:
000051E6 206F 0004 movea.l A0, [A7 + 0x4]
000051EA 226F 0008 movea.l A1, [A7 + 0x8]
000051EE 7000 moveq.l D0, 0x00
000051F0 6004 bra +0x6 /* 000051F6 */
label000051F2:
000051F2 4A01 tst.b D1
000051F4 670C beq +0xE /* 00005202 */
label000051F6:
000051F6 1218 move.b D1, [A0]+
000051F8 B219 cmp.b D1, [A1]+
000051FA 67F6 beq -0x8 /* 000051F2 */
000051FC 6202 bhi +0x4 /* 00005200 */
000051FE 5580 subq.l D0, 2
label00005200:
00005200 5280 addq.l D0, 1
label00005202:
00005202 4E75 rts
00005204 206F 0004 movea.l A0, [A7 + 0x4]
00005208 322F 0008 move.w D1, [A7 + 0x8]
0000520C 7000 moveq.l D0, 0x00
0000520E 6004 bra +0x6 /* 00005214 */
label00005210:
00005210 4A18 tst.b [A0]+
00005212 6706 beq +0x8 /* 0000521A */
label00005214:
00005214 B210 cmp.b D1, [A0]
00005216 66F8 bne -0x6 /* 00005210 */
00005218 2008 move.l D0, A0
label0000521A:
0000521A 4E75 rts
0000521C 206F 0004 movea.l A0, [A7 + 0x4]
00005220 70FF moveq.l D0, 0xFFFFFFFF
label00005222:
00005222 5280 addq.l D0, 1
00005224 1218 move.b D1, [A0]+
00005226 670C beq +0xE /* 00005234 */
00005228 226F 0008 movea.l A1, [A7 + 0x8]
label0000522C:
0000522C 1419 move.b D2, [A1]+
0000522E 67F2 beq -0xC /* 00005222 */
00005230 B401 cmp.b D2, D1
00005232 66F8 bne -0x6 /* 0000522C */
label00005234:
00005234 4E75 rts
00005236 206F 0004 movea.l A0, [A7 + 0x4]
0000523A 7000 moveq.l D0, 0x00
label0000523C:
0000523C 1218 move.b D1, [A0]+
0000523E 6710 beq +0x12 /* 00005250 */
00005240 226F 0008 movea.l A1, [A7 + 0x8]
label00005244:
00005244 1419 move.b D2, [A1]+
00005246 67F4 beq -0xA /* 0000523C */
00005248 B401 cmp.b D2, D1
0000524A 66F8 bne -0x6 /* 00005244 */
0000524C 5388 subq.l A0, 1
0000524E 2008 move.l D0, A0
label00005250:
00005250 4E75 rts
export_42:
00005252 206F 0004 movea.l A0, [A7 + 0x4]
00005256 322F 0008 move.w D1, [A7 + 0x8]
0000525A 7000 moveq.l D0, 0x00
label0000525C:
0000525C B210 cmp.b D1, [A0]
0000525E 6602 bne +0x4 /* 00005262 */
00005260 2008 move.l D0, A0
label00005262:
00005262 4A18 tst.b [A0]+
00005264 66F6 bne -0x8 /* 0000525C */
00005266 4E75 rts
00005268 206F 0004 movea.l A0, [A7 + 0x4]
0000526C 7000 moveq.l D0, 0x00
0000526E 6006 bra +0x8 /* 00005276 */
label00005270:
00005270 B401 cmp.b D2, D1
00005272 660A bne +0xC /* 0000527E */
00005274 5280 addq.l D0, 1
label00005276:
00005276 1218 move.b D1, [A0]+
00005278 6708 beq +0xA /* 00005282 */
0000527A 226F 0008 movea.l A1, [A7 + 0x8]
label0000527E:
0000527E 1419 move.b D2, [A1]+
00005280 66EE bne -0x10 /* 00005270 */
label00005282:
00005282 4E75 rts
00005284 202F 0004 move.l D0, [A7 + 0x4]
00005288 6006 bra +0x8 /* 00005290 */
label0000528A:
0000528A B401 cmp.b D2, D1
0000528C 6708 beq +0xA /* 00005296 */
0000528E 5280 addq.l D0, 1
label00005290:
00005290 2040 movea.l A0, D0
00005292 226F 0008 movea.l A1, [A7 + 0x8]
label00005296:
00005296 1219 move.b D1, [A1]+
00005298 6706 beq +0x8 /* 000052A0 */
0000529A 1418 move.b D2, [A0]+
0000529C 66EC bne -0x12 /* 0000528A */
0000529E 7000 moveq.l D0, 0x00
label000052A0:
000052A0 4E75 rts
000052A2 202F 0004 move.l D0, [A7 + 0x4]
000052A6 6606 bne +0x8 /* 000052AE */
label000052A8:
000052A8 202D FE50 move.l D0, [A5 - 0x1B0]
000052AC 6730 beq +0x32 /* 000052DE */
label000052AE:
000052AE 42AD FE50 clr.l [A5 - 0x1B0]
000052B2 2040 movea.l A0, D0
000052B4 6006 bra +0x8 /* 000052BC */
label000052B6:
000052B6 B401 cmp.b D2, D1
000052B8 660A bne +0xC /* 000052C4 */
000052BA 2008 move.l D0, A0
label000052BC:
000052BC 1218 move.b D1, [A0]+
000052BE 67E8 beq -0x16 /* 000052A8 */
000052C0 226F 0008 movea.l A1, [A7 + 0x8]
label000052C4:
000052C4 1419 move.b D2, [A1]+
000052C6 66EE bne -0x10 /* 000052B6 */
label000052C8:
000052C8 1218 move.b D1, [A0]+
000052CA 6712 beq +0x14 /* 000052DE */
000052CC 226F 0008 movea.l A1, [A7 + 0x8]
label000052D0:
000052D0 1419 move.b D2, [A1]+
000052D2 67F4 beq -0xA /* 000052C8 */
000052D4 B401 cmp.b D2, D1
000052D6 66F8 bne -0x6 /* 000052D0 */
000052D8 2B48 FE50 move.l [A5 - 0x1B0], A0
000052DC 4220 clr.b -[A0]
label000052DE:
000052DE 4E75 rts
export_44:
fn000052E0:
000052E0 70FF moveq.l D0, 0xFFFFFFFF
000052E2 206F 0004 movea.l A0, [A7 + 0x4]
label000052E6:
000052E6 5280 addq.l D0, 1
000052E8 4A18 tst.b [A0]+
000052EA 66FA bne -0x4 /* 000052E6 */
000052EC 4E75 rts
000052EE 202F 0004 move.l D0, [A7 + 0x4]
000052F2 2040 movea.l A0, D0
000052F4 226F 0008 movea.l A1, [A7 + 0x8]
000052F8 222F 000C move.l D1, [A7 + 0xC]
000052FC 670A beq +0xC /* 00005308 */
label000052FE:
000052FE 10D1 move.b [A0]+, [A1]
00005300 6702 beq +0x4 /* 00005304 */
00005302 5289 addq.l A1, 1
label00005304:
00005304 5381 subq.l D1, 1
00005306 66F6 bne -0x8 /* 000052FE */
label00005308:
00005308 4E75 rts
0000530A 202F 0004 move.l D0, [A7 + 0x4]
0000530E 2040 movea.l A0, D0
00005310 226F 0008 movea.l A1, [A7 + 0x8]
00005314 222F 000C move.l D1, [A7 + 0xC]
00005318 6710 beq +0x12 /* 0000532A */
label0000531A:
0000531A 4A18 tst.b [A0]+
0000531C 66FC bne -0x2 /* 0000531A */
0000531E 5388 subq.l A0, 1
label00005320:
00005320 10D9 move.b [A0]+, [A1]+
00005322 6706 beq +0x8 /* 0000532A */
00005324 5381 subq.l D1, 1
00005326 66F8 bne -0x6 /* 00005320 */
00005328 4210 clr.b [A0]
label0000532A:
0000532A 4E75 rts
export_48:
0000532C 7000 moveq.l D0, 0x00
0000532E 206F 0004 movea.l A0, [A7 + 0x4]
00005332 226F 0008 movea.l A1, [A7 + 0x8]
00005336 222F 000C move.l D1, [A7 + 0xC]
0000533A 6006 bra +0x8 /* 00005342 */
label0000533C:
0000533C 4A02 tst.b D2
0000533E 6710 beq +0x12 /* 00005350 */
00005340 5381 subq.l D1, 1
label00005342:
00005342 670C beq +0xE /* 00005350 */
00005344 1418 move.b D2, [A0]+
00005346 B419 cmp.b D2, [A1]+
00005348 67F2 beq -0xC /* 0000533C */
0000534A 6202 bhi +0x4 /* 0000534E */
0000534C 5580 subq.l D0, 2
label0000534E:
0000534E 5280 addq.l D0, 1
label00005350:
00005350 4E75 rts
export_46:
00005352 42A7 clr.l -[A7]
00005354 A975 syscall TickCount
00005356 201F move.l D0, [A7]+
00005358 4E75 rts
0000535A 4E56 0000 link A6, 0
0000535E F227 E001 .fmovem 0xF227, 0xE001 // unimplemented
00005362 202E 0010 move.l D0, [A6 + 0x10]
00005366 B0AE 000C cmp.l D0, [A6 + 0xC]
0000536A 631A bls +0x1C /* 00005386 */
0000536C 202E 0010 move.l D0, [A6 + 0x10]
00005370 90AE 000C sub.l D0, [A6 + 0xC]
00005374 F200 4000 fmove fp0, (int32_t) D0
00005378 F200 001A fneg fp0, fp0
0000537C 206E 0008 movea.l A0, [A6 + 0x8]
00005380 F210 6800 fmove (extended) [A0], fp0
00005384 6014 bra +0x16 /* 0000539A */
label00005386:
00005386 202E 000C move.l D0, [A6 + 0xC]
0000538A 90AE 0010 sub.l D0, [A6 + 0x10]
0000538E 206E 0008 movea.l A0, [A6 + 0x8]
00005392 F200 4000 fmove fp0, (int32_t) D0
00005396 F210 6800 fmove (extended) [A0], fp0
label0000539A:
0000539A F21F D080 .fmovem 0xF21F, 0xD080 // unimplemented
0000539E 4E5E unlink A6
000053A0 4E75 rts
000053A2 4E56 FFFC link A6, -0x0004
000053A6 2F2E 0008 move.l -[A7], [A6 + 0x8]
000053AA 4EBA 03C2 jsr [PC + 0x3C2 /* 0000576E */]
000053AE 588F addq.l A7, 4
000053B0 0C6D 0770 FE54 cmpi.w [A5 - 0x1AC], 0x770
000053B6 6D08 blt +0xA /* 000053C0 */
000053B8 0C6D 07F8 FE54 cmpi.w [A5 - 0x1AC], 0x7F8
000053BE 6F04 ble +0x6 /* 000053C4 */
label000053C0:
000053C0 70FF moveq.l D0, 0xFFFFFFFF
000053C2 6018 bra +0x1A /* 000053DC */
label000053C4:
000053C4 41ED FE54 lea.l A0, [A5 - 0x1AC]
000053C8 A9C7 syscall DateToSeconds/Date2Secs
000053CA 2D40 FFFC move.l [A6 - 0x4], D0
000053CE 2F2E 0008 move.l -[A7], [A6 + 0x8]
000053D2 4EBA 04A8 jsr [PC + 0x4A8 /* 0000587C */]
000053D6 588F addq.l A7, 4
000053D8 202E FFFC move.l D0, [A6 - 0x4]
label000053DC:
000053DC 4E5E unlink A6
000053DE 4E75 rts
export_47:
000053E0 4E56 FFFC link A6, -0x0004
000053E4 2D78 020C FFFC move.l [A6 - 0x4], [0x0000020C /* Time */]
000053EA 4AAE 0008 tst.l [A6 + 0x8]
000053EE 6708 beq +0xA /* 000053F8 */
000053F0 206E 0008 movea.l A0, [A6 + 0x8]
000053F4 20AE FFFC move.l [A0], [A6 - 0x4]
label000053F8:
000053F8 202E FFFC move.l D0, [A6 - 0x4]
000053FC 4E5E unlink A6
000053FE 4E75 rts
fn00005400:
00005400 4E56 0000 link A6, 0
00005404 2F0C move.l -[A7], A4
00005406 286E 0008 movea.l A4, [A6 + 0x8]
0000540A 2F0C move.l -[A7], A4
0000540C 486D FFA4 pea.l [A5 - 0x5C]
00005410 4878 001A push.l 0x1A
00005414 486D FEDE pea.l [A5 - 0x122]
00005418 4EBA 005A jsr [PC + 0x5A /* 00005474 */]
0000541C 4FEF 0010 lea.l A7, [A7 + 0x10]
00005420 41ED FEDE lea.l A0, [A5 - 0x122]
00005424 2008 move.l D0, A0
00005426 285F movea.l A4, [A7]+
00005428 4E5E unlink A6
0000542A 4E75 rts
0000542C 4E56 0000 link A6, 0
00005430 2F2E 0008 move.l -[A7], [A6 + 0x8]
00005434 4EBA 001A jsr [PC + 0x1A /* 00005450 */]
00005438 588F addq.l A7, 4
0000543A 2F00 move.l -[A7], D0
0000543C 4EBA FFC2 jsr [PC - 0x3E /* 00005400 */]
00005440 588F addq.l A7, 4
00005442 4E5E unlink A6
00005444 4E75 rts
00005446 4E56 0000 link A6, 0
0000544A 7000 moveq.l D0, 0x00
0000544C 4E5E unlink A6
0000544E 4E75 rts
fn00005450:
00005450 4E56 0000 link A6, 0
00005454 206E 0008 movea.l A0, [A6 + 0x8]
00005458 2010 move.l D0, [A0]
0000545A 41ED FE54 lea.l A0, [A5 - 0x1AC]
0000545E A9C6 syscall SecondsToDate/Secs2Date
00005460 486D FEF8 pea.l [A5 - 0x108]
00005464 4EBA 0416 jsr [PC + 0x416 /* 0000587C */]
00005468 588F addq.l A7, 4
0000546A 41ED FEF8 lea.l A0, [A5 - 0x108]
0000546E 2008 move.l D0, A0
00005470 4E5E unlink A6
00005472 4E75 rts
fn00005474:
00005474 4E56 FFE6 link A6, -0x001A
00005478 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
0000547C 286E 0014 movea.l A4, [A6 + 0x14]
00005480 7E00 moveq.l D7, 0x00
00005482 206E 0010 movea.l A0, [A6 + 0x10]
00005486 1010 move.b D0, [A0]
00005488 4880 ext.w D0
0000548A 3A00 move.w D5, D0
0000548C 6000 02D0 bra +0x2D2 /* 0000575E */
label00005490:
00005490 0C45 0025 cmpi.w D5, 0x25 /* '%' */
00005494 6600 0282 bne +0x284 /* 00005718 */
00005498 41EE FFE6 lea.l A0, [A6 - 0x1A]
0000549C 2648 movea.l A3, A0
0000549E 7C00 moveq.l D6, 0x00
000054A0 52AE 0010 addq.l [A6 + 0x10], 1
000054A4 206E 0010 movea.l A0, [A6 + 0x10]
000054A8 1010 move.b D0, [A0]
000054AA 4880 ext.w D0
000054AC 3A00 move.w D5, D0
000054AE 4EAD 002A jsr [A5 + 0x2A /* export_1 */]
000054B2 0016 005A ori.b [A6], 0x5A /* 'Z' */
000054B6 0061 006C ori.w -[A1], 0x6C /* 'l' */
000054BA 0041 007C ori.w D1, 0x7C /* '|' */
000054BE 0062 008E ori.w -[A2], 0x8E
000054C2 0042 009E ori.w D2, 0x9E
000054C6 0063 00B4 ori.w -[A3], 0xB4
000054CA 0064 00B8 ori.w -[A4], 0xB8
000054CE 0044 00CC ori.w D4, 0xCC
000054D2 0048 00D0 ori.w A0, 0xD0
000054D6 0049 00E4 ori.w A1, 0xE4
000054DA 006A 00FC 006D ori.w [A2 + 0x6D], 0xFC
000054E0 0104 btst D4, D0
000054E2 004D 0108 ori.w A5, 0x108
000054E6 0070 0120 0053 ori.w [A0 + D0.w + 0x53], 0x120
000054EC 0122 btst -[A2], D0
000054EE 0055 0134 ori.w [A5], 0x134
000054F2 0077 0148 0057 ori.w [A7 + D0.w + 0x57], 0x148
000054F8 0166 bchg -[A6], D0
000054FA 0078 0190 0058 ori.w [0x00000058], 0x190
00005500 01CC .incomplete
00005502 0079 01EC 0059 0248 ori.w [0x00590248], 0x1EC
0000550A 005A 0200 ori.w [A2]+, 0x200
0000550E 302C 000C move.w D0, [A4 + 0xC]
00005512 48C0 ext.l D0
00005514 E580 asl D0, 2
00005516 41ED FE92 lea.l A0, [A5 - 0x16E]
0000551A D1C0 add.l A0, D0
0000551C 2650 movea.l A3, [A0]
0000551E 7C03 moveq.l D6, 0x03
00005520 6000 01FC bra +0x1FE /* 0000571E */
00005524 302C 000C move.w D0, [A4 + 0xC]
00005528 48C0 ext.l D0
0000552A E580 asl D0, 2
0000552C 41ED FE92 lea.l A0, [A5 - 0x16E]
00005530 D1C0 add.l A0, D0
00005532 2650 movea.l A3, [A0]
00005534 6000 01E8 bra +0x1EA /* 0000571E */
00005538 302C 0008 move.w D0, [A4 + 0x8]
0000553C 48C0 ext.l D0
0000553E E580 asl D0, 2
00005540 41ED FEAE lea.l A0, [A5 - 0x152]
00005544 D1C0 add.l A0, D0
00005546 2650 movea.l A3, [A0]
00005548 7C03 moveq.l D6, 0x03
0000554A 6000 01D2 bra +0x1D4 /* 0000571E */
0000554E 302C 0008 move.w D0, [A4 + 0x8]
00005552 48C0 ext.l D0
00005554 E580 asl D0, 2
00005556 41ED FEAE lea.l A0, [A5 - 0x152]
0000555A D1C0 add.l A0, D0
0000555C 2650 movea.l A3, [A0]
0000555E 6000 01BE bra +0x1C0 /* 0000571E */
00005562 2F0C move.l -[A7], A4
00005564 486D FFA8 pea.l [A5 - 0x58]
00005568 4878 001A push.l 0x1A
0000556C 486E FFE6 pea.l [A6 - 0x1A]
00005570 4EBA FF02 jsr [PC - 0xFE /* 00005474 */]
00005574 4FEF 0010 lea.l A7, [A7 + 0x10]
00005578 6000 01A4 bra +0x1A6 /* 0000571E */
0000557C 382C 0006 move.w D4, [A4 + 0x6]
00005580 6000 0158 bra +0x15A /* 000056DA */
00005584 3F2C 0006 move.w -[A7], [A4 + 0x6]
00005588 486D FFBE pea.l [A5 - 0x42]
0000558C 486E FFE6 pea.l [A6 - 0x1A]
00005590 4EBA FB3E jsr [PC - 0x4C2 /* 000050D0 */]
00005594 4FEF 000A lea.l A7, [A7 + 0xA]
00005598 6000 0184 bra +0x186 /* 0000571E */
0000559C 382C 0004 move.w D4, [A4 + 0x4]
000055A0 6000 0138 bra +0x13A /* 000056DA */
000055A4 302C 0004 move.w D0, [A4 + 0x4]
000055A8 0640 000B addi.w D0, 0xB
000055AC 48C0 ext.l D0
000055AE 81FC 000C divs.w D0, 0xC
000055B2 4840 swap.w D0
000055B4 5240 addq.w D0, 1
000055B6 3800 move.w D4, D0
000055B8 6000 0120 bra +0x122 /* 000056DA */
000055BC 302C 000E move.w D0, [A4 + 0xE]
000055C0 5240 addq.w D0, 1
000055C2 3F00 move.w -[A7], D0
000055C4 486D FFC2 pea.l [A5 - 0x3E]
000055C8 486E FFE6 pea.l [A6 - 0x1A]
000055CC 4EBA FB02 jsr [PC - 0x4FE /* 000050D0 */]
000055D0 4FEF 000A lea.l A7, [A7 + 0xA]
000055D4 6000 0148 bra +0x14A /* 0000571E */
000055D8 302C 0008 move.w D0, [A4 + 0x8]
000055DC 5240 addq.w D0, 1
000055DE 3800 move.w D4, D0
000055E0 6000 00F8 bra +0xFA /* 000056DA */
000055E4 382C 0002 move.w D4, [A4 + 0x2]
000055E8 6000 00F0 bra +0xF2 /* 000056DA */
000055EC 0C6C 000C 0004 cmpi.w [A4 + 0x4], 0xC
000055F2 6C08 bge +0xA /* 000055FC */
000055F4 41ED FFC8 lea.l A0, [A5 - 0x38]
000055F8 2008 move.l D0, A0
000055FA 6006 bra +0x8 /* 00005602 */
label000055FC:
000055FC 41ED FFCC lea.l A0, [A5 - 0x34]
00005600 2008 move.l D0, A0
label00005602:
00005602 2640 movea.l A3, D0
00005604 6000 0118 bra +0x11A /* 0000571E */
00005608 3814 move.w D4, [A4]
0000560A 6000 00CE bra +0xD0 /* 000056DA */
0000560E 302C 000E move.w D0, [A4 + 0xE]
00005612 906C 000C sub.w D0, [A4 + 0xC]
00005616 5E40 addq.w D0, 7
00005618 48C0 ext.l D0
0000561A 81FC 0007 divs.w D0, 0x7
0000561E 3800 move.w D4, D0
00005620 6000 00B8 bra +0xBA /* 000056DA */
00005624 3F2C 000C move.w -[A7], [A4 + 0xC]
00005628 486D FFD0 pea.l [A5 - 0x30]
0000562C 486E FFE6 pea.l [A6 - 0x1A]
00005630 4EBA FA9E jsr [PC - 0x562 /* 000050D0 */]
00005634 4FEF 000A lea.l A7, [A7 + 0xA]
00005638 6000 00E4 bra +0xE6 /* 0000571E */
0000563C 302C 000C move.w D0, [A4 + 0xC]
00005640 5C40 addq.w D0, 6
00005642 48C0 ext.l D0
00005644 81FC 0007 divs.w D0, 0x7
00005648 4840 swap.w D0
0000564A 322C 000E move.w D1, [A4 + 0xE]
0000564E 9240 sub.w D1, D0
00005650 5E41 addq.w D1, 7
00005652 48C1 ext.l D1
00005654 83FC 0007 divs.w D1, 0x7
00005658 3801 move.w D4, D1
0000565A 6000 007E bra +0x80 /* 000056DA */
0000565E 306C 000A movea.w A0, [A4 + 0xA]
00005662 2008 move.l D0, A0
00005664 81FC 0064 divs.w D0, 0x64 /* 'd' */
00005668 4840 swap.w D0
0000566A 3F00 move.w -[A7], D0
0000566C 3F2C 0006 move.w -[A7], [A4 + 0x6]
00005670 302C 0008 move.w D0, [A4 + 0x8]
00005674 5240 addq.w D0, 1
00005676 3F00 move.w -[A7], D0
00005678 486D FFD4 pea.l [A5 - 0x2C]
0000567C 486E FFE6 pea.l [A6 - 0x1A]
00005680 4EBA FA4E jsr [PC - 0x5B2 /* 000050D0 */]
00005684 4FEF 000E lea.l A7, [A7 + 0xE]
00005688 6000 0094 bra +0x96 /* 0000571E */
0000568C 302C 0004 move.w D0, [A4 + 0x4]
00005690 0640 000B addi.w D0, 0xB
00005694 48C0 ext.l D0
00005696 81FC 000C divs.w D0, 0xC
0000569A 4840 swap.w D0
0000569C 306C 0004 movea.w A0, [A4 + 0x4]
000056A0 2208 move.l D1, A0
000056A2 83FC 000C divs.w D1, 0xC
000056A6 41ED FFEC lea.l A0, [A5 - 0x14]
000056AA D0C1 add.w A0, D1
000056AC 1210 move.b D1, [A0]
000056AE 4881 ext.w D1
000056B0 3F01 move.w -[A7], D1
000056B2 3F2C 0002 move.w -[A7], [A4 + 0x2]
000056B6 5240 addq.w D0, 1
000056B8 3F00 move.w -[A7], D0
000056BA 486D FFE0 pea.l [A5 - 0x20]
000056BE 486E FFE6 pea.l [A6 - 0x1A]
000056C2 4EBA FA0C jsr [PC - 0x5F4 /* 000050D0 */]
000056C6 4FEF 000E lea.l A7, [A7 + 0xE]
000056CA 6052 bra +0x54 /* 0000571E */
000056CC 306C 000A movea.w A0, [A4 + 0xA]
000056D0 2008 move.l D0, A0
000056D2 81FC 0064 divs.w D0, 0x64 /* 'd' */
000056D6 4840 swap.w D0
000056D8 3800 move.w D4, D0
label000056DA:
000056DA 3F04 move.w -[A7], D4
000056DC 486D FFF0 pea.l [A5 - 0x10]
000056E0 486E FFE6 pea.l [A6 - 0x1A]
000056E4 4EBA F9EA jsr [PC - 0x616 /* 000050D0 */]
000056E8 4FEF 000A lea.l A7, [A7 + 0xA]
000056EC 7C02 moveq.l D6, 0x02
000056EE 602E bra +0x30 /* 0000571E */
000056F0 302C 000A move.w D0, [A4 + 0xA]
000056F4 0640 076C addi.w D0, 0x76C
000056F8 3F00 move.w -[A7], D0
000056FA 486D FFF6 pea.l [A5 - 0xA]
000056FE 486E FFE6 pea.l [A6 - 0x1A]
00005702 4EBA F9CC jsr [PC - 0x634 /* 000050D0 */]
00005706 4FEF 000A lea.l A7, [A7 + 0xA]
0000570A 6012 bra +0x14 /* 0000571E */
0000570C 0C45 0025 cmpi.w D5, 0x25 /* '%' */
00005710 6706 beq +0x8 /* 00005718 */
00005712 7000 moveq.l D0, 0x00
00005714 6000 0050 bra +0x52 /* 00005766 */
label00005718:
00005718 266E 0010 movea.l A3, [A6 + 0x10]
0000571C 7C01 moveq.l D6, 0x01
label0000571E:
0000571E 4A86 tst.l D6
00005720 660A bne +0xC /* 0000572C */
00005722 2F0B move.l -[A7], A3
00005724 4EBA FBBA jsr [PC - 0x446 /* 000052E0 */]
00005728 588F addq.l A7, 4
0000572A 2C00 move.l D6, D0
label0000572C:
0000572C DE86 add.l D7, D6
0000572E BEAE 000C cmp.l D7, [A6 + 0xC]
00005732 6504 bcs +0x6 /* 00005738 */
00005734 7000 moveq.l D0, 0x00
00005736 602E bra +0x30 /* 00005766 */
label00005738:
00005738 2F0B move.l -[A7], A3
0000573A 3F06 move.w -[A7], D6
0000573C 486D FFFA pea.l [A5 - 0x6]
00005740 2F2E 0008 move.l -[A7], [A6 + 0x8]
00005744 4EBA F98A jsr [PC - 0x676 /* 000050D0 */]
00005748 4FEF 000E lea.l A7, [A7 + 0xE]
0000574C DDAE 0008 add.l [A6 + 0x8], D6
00005750 52AE 0010 addq.l [A6 + 0x10], 1
00005754 206E 0010 movea.l A0, [A6 + 0x10]
00005758 1010 move.b D0, [A0]
0000575A 4880 ext.w D0
0000575C 3A00 move.w D5, D0
label0000575E:
0000575E 4A45 tst.w D5
00005760 6600 FD2E bne -0x2D0 /* 00005490 */
00005764 2007 move.l D0, D7
label00005766:
00005766 4CDF 18F0 movem.l D4,D5,D6,D7,A3,A4, [A7]+
0000576A 4E5E unlink A6
0000576C 4E75 rts
fn0000576E:
0000576E 4E56 0000 link A6, 0
00005772 48E7 0108 movem.l -[A7], D7,A4
00005776 286E 0008 movea.l A4, [A6 + 0x8]
0000577A 3B54 FE5E move.w [A5 - 0x1A2], [A4]
0000577E 3F3C 003C move.w -[A7], 0x3C /* '<' */
00005782 486D FE5E pea.l [A5 - 0x1A2]
00005786 4EBA 0184 jsr [PC + 0x184 /* 0000590C */]
0000578A 5C8F addq.l A7, 6
0000578C D06C 0002 add.w D0, [A4 + 0x2]
00005790 3B40 FE5C move.w [A5 - 0x1A4], D0
00005794 3F3C 003C move.w -[A7], 0x3C /* '<' */
00005798 486D FE5C pea.l [A5 - 0x1A4]
0000579C 4EBA 016E jsr [PC + 0x16E /* 0000590C */]
000057A0 5C8F addq.l A7, 6
000057A2 D06C 0004 add.w D0, [A4 + 0x4]
000057A6 3B40 FE5A move.w [A5 - 0x1A6], D0
000057AA 3F3C 0018 move.w -[A7], 0x18
000057AE 486D FE5A pea.l [A5 - 0x1A6]
000057B2 4EBA 0158 jsr [PC + 0x158 /* 0000590C */]
000057B6 5C8F addq.l A7, 6
000057B8 D06C 0006 add.w D0, [A4 + 0x6]
000057BC 3B40 FE58 move.w [A5 - 0x1A8], D0
000057C0 3B6C 0008 FE56 move.w [A5 - 0x1AA], [A4 + 0x8]
000057C6 3F3C 000C move.w -[A7], 0xC
000057CA 486D FE56 pea.l [A5 - 0x1AA]
000057CE 4EBA 013C jsr [PC + 0x13C /* 0000590C */]
000057D2 5C8F addq.l A7, 6
000057D4 D06C 000A add.w D0, [A4 + 0xA]
000057D8 3B40 FE54 move.w [A5 - 0x1AC], D0
000057DC 4A6D FE58 tst.w [A5 - 0x1A8]
000057E0 6F46 ble +0x48 /* 00005828 */
label000057E2:
000057E2 302D FE56 move.w D0, [A5 - 0x1AA]
000057E6 48C0 ext.l D0
000057E8 D080 add.l D0, D0
000057EA 41ED FE62 lea.l A0, [A5 - 0x19E]
000057EE D1C0 add.l A0, D0
000057F0 3E10 move.w D7, [A0]
000057F2 0C6D 0001 FE56 cmpi.w [A5 - 0x1AA], 0x1
000057F8 660C bne +0xE /* 00005806 */
000057FA 7003 moveq.l D0, 0x03
000057FC C06D FE54 and.w D0, [A5 - 0x1AC]
00005800 4A40 tst.w D0
00005802 6602 bne +0x4 /* 00005806 */
00005804 5247 addq.w D7, 1
label00005806:
00005806 BE6D FE58 cmp.w D7, [A5 - 0x1A8]
0000580A 6C00 005E bge +0x60 /* 0000586A */
0000580E 9F6D FE58 sub.w [A5 - 0x1A8], D7
00005812 526D FE56 addq.w [A5 - 0x1AA], 1
00005816 0C6D 000C FE56 cmpi.w [A5 - 0x1AA], 0xC
0000581C 66C4 bne -0x3A /* 000057E2 */
0000581E 426D FE56 clr.w [A5 - 0x1AA]
00005822 526D FE54 addq.w [A5 - 0x1AC], 1
00005826 60BA bra -0x44 /* 000057E2 */
label00005828:
00005828 536D FE56 subq.w [A5 - 0x1AA], 1
0000582C 4A6D FE56 tst.w [A5 - 0x1AA]
00005830 6C0A bge +0xC /* 0000583C */
00005832 700B moveq.l D0, 0x0B
00005834 3B40 FE56 move.w [A5 - 0x1AA], D0
00005838 536D FE54 subq.w [A5 - 0x1AC], 1
label0000583C:
0000583C 302D FE56 move.w D0, [A5 - 0x1AA]
00005840 48C0 ext.l D0
00005842 D080 add.l D0, D0
00005844 41ED FE62 lea.l A0, [A5 - 0x19E]
00005848 D1C0 add.l A0, D0
0000584A 3E10 move.w D7, [A0]
0000584C 0C6D 0001 FE56 cmpi.w [A5 - 0x1AA], 0x1
00005852 660C bne +0xE /* 00005860 */
00005854 7003 moveq.l D0, 0x03
00005856 C06D FE54 and.w D0, [A5 - 0x1AC]
0000585A 4A40 tst.w D0
0000585C 6602 bne +0x4 /* 00005860 */
0000585E 5247 addq.w D7, 1
label00005860:
00005860 DF6D FE58 add.w [A5 - 0x1A8], D7
00005864 4A6D FE58 tst.w [A5 - 0x1A8]
00005868 6FBE ble -0x40 /* 00005828 */
label0000586A:
0000586A 066D 076C FE54 addi.w [A5 - 0x1AC], 0x76C
00005870 526D FE56 addq.w [A5 - 0x1AA], 1
00005874 4CDF 1080 movem.l D7,A4, [A7]+
00005878 4E5E unlink A6
0000587A 4E75 rts
fn0000587C:
0000587C 4E56 0000 link A6, 0
00005880 2F0C move.l -[A7], A4
00005882 286E 0008 movea.l A4, [A6 + 0x8]
00005886 38AD FE5E move.w [A4], [A5 - 0x1A2]
0000588A 396D FE5C 0002 move.w [A4 + 0x2], [A5 - 0x1A4]
00005890 396D FE5A 0004 move.w [A4 + 0x4], [A5 - 0x1A6]
00005896 396D FE58 0006 move.w [A4 + 0x6], [A5 - 0x1A8]
0000589C 302D FE56 move.w D0, [A5 - 0x1AA]
000058A0 5340 subq.w D0, 1
000058A2 3940 0008 move.w [A4 + 0x8], D0
000058A6 302D FE54 move.w D0, [A5 - 0x1AC]
000058AA 0640 F894 addi.w D0, 0xF894
000058AE 3940 000A move.w [A4 + 0xA], D0
000058B2 70FF moveq.l D0, 0xFFFFFFFF
000058B4 3940 0010 move.w [A4 + 0x10], D0
000058B8 302C 0008 move.w D0, [A4 + 0x8]
000058BC 48C0 ext.l D0
000058BE D080 add.l D0, D0
000058C0 41ED FE7A lea.l A0, [A5 - 0x186]
000058C4 D1C0 add.l A0, D0
000058C6 3010 move.w D0, [A0]
000058C8 D06C 0006 add.w D0, [A4 + 0x6]
000058CC 5340 subq.w D0, 1
000058CE 3940 000E move.w [A4 + 0xE], D0
000058D2 0C6C 0001 0008 cmpi.w [A4 + 0x8], 0x1
000058D8 6F0E ble +0x10 /* 000058E8 */
000058DA 7003 moveq.l D0, 0x03
000058DC C06C 000A and.w D0, [A4 + 0xA]
000058E0 4A40 tst.w D0
000058E2 6604 bne +0x6 /* 000058E8 */
000058E4 526C 000E addq.w [A4 + 0xE], 1
label000058E8:
000058E8 302C 000A move.w D0, [A4 + 0xA]
000058EC 5340 subq.w D0, 1
000058EE C1FC 0005 muls.w D0, 0x5
000058F2 E440 asr D0.w, 2
000058F4 D06C 000E add.w D0, [A4 + 0xE]
000058F8 5440 addq.w D0, 2
000058FA 48C0 ext.l D0
000058FC 81FC 0007 divs.w D0, 0x7
00005900 4840 swap.w D0
00005902 3940 000C move.w [A4 + 0xC], D0
00005906 285F movea.l A4, [A7]+
00005908 4E5E unlink A6
0000590A 4E75 rts
fn0000590C:
0000590C 4E56 0000 link A6, 0
00005910 226E 0008 movea.l A1, [A6 + 0x8]
00005914 3211 move.w D1, [A1]
00005916 48C1 ext.l D1
00005918 83EE 000C divs.w D1, [A6 + 0xC]
0000591C 3001 move.w D0, D1
0000591E 4841 swap.w D1
00005920 4A41 tst.w D1
00005922 6A06 bpl +0x8 /* 0000592A */
00005924 D26E 000C add.w D1, [A6 + 0xC]
00005928 5340 subq.w D0, 1
label0000592A:
0000592A 3281 move.w [A1], D1
0000592C 4E5E unlink A6
0000592E 4E75 rts
fn00005930:
00005930 4E56 FFFC link A6, -0x0004
00005934 2F0C move.l -[A7], A4
00005936 286E 000A movea.l A4, [A6 + 0xA]
0000593A 0C6E FFFF 0008 cmpi.w [A6 + 0x8], 0xFFFF
00005940 6606 bne +0x8 /* 00005948 */
00005942 70FF moveq.l D0, 0xFFFFFFFF
00005944 6000 0090 bra +0x92 /* 000059D6 */
label00005948:
00005948 2F0C move.l -[A7], A4
0000594A 4EBA F678 jsr [PC - 0x988 /* 00004FC4 */]
0000594E 588F addq.l A7, 4
00005950 082C 0007 0001 btst.b [A4 + 0x1], 0x7
00005956 670E beq +0x10 /* 00005966 */
00005958 4AAC 0012 tst.l [A4 + 0x12]
0000595C 6700 005E beq +0x60 /* 000059BC */
00005960 70FF moveq.l D0, 0xFFFFFFFF
00005962 6000 0072 bra +0x74 /* 000059D6 */
label00005966:
00005966 202C 0012 move.l D0, [A4 + 0x12]
0000596A B0AC 000A cmp.l D0, [A4 + 0xA]
0000596E 6622 bne +0x24 /* 00005992 */
00005970 4AAC 000A tst.l [A4 + 0xA]
00005974 671C beq +0x1E /* 00005992 */
00005976 202C 0012 move.l D0, [A4 + 0x12]
0000597A 91AC 0016 sub.l [A4 + 0x16], D0
0000597E 42AC 0012 clr.l [A4 + 0x12]
00005982 41EC 0004 lea.l A0, [A4 + 0x4]
00005986 2948 000E move.l [A4 + 0xE], A0
0000598A 08EC 0007 0001 bset.b [A4 + 0x1], 0x7
00005990 602A bra +0x2C /* 000059BC */
label00005992:
00005992 202C 000E move.l D0, [A4 + 0xE]
00005996 B0AC 0006 cmp.l D0, [A4 + 0x6]
0000599A 6620 bne +0x22 /* 000059BC */
0000599C 202C 000A move.l D0, [A4 + 0xA]
000059A0 90AC 0012 sub.l D0, [A4 + 0x12]
000059A4 D1AC 000E add.l [A4 + 0xE], D0
000059A8 2F2C 0012 move.l -[A7], [A4 + 0x12]
000059AC 2F2C 0006 move.l -[A7], [A4 + 0x6]
000059B0 2F2C 000E move.l -[A7], [A4 + 0xE]
000059B4 4EBA DCA6 jsr [PC - 0x235A /* 0000365C */]
000059B8 4FEF 000C lea.l A7, [A7 + 0xC]
label000059BC:
000059BC 0894 0005 bclr.b [A4], 0x5
000059C0 52AC 0012 addq.l [A4 + 0x12], 1
000059C4 53AC 000E subq.l [A4 + 0xE], 1
000059C8 206C 000E movea.l A0, [A4 + 0xE]
000059CC 102E 0009 move.b D0, [A6 + 0x9]
000059D0 1080 move.b [A0], D0
000059D2 0240 00FF andi.w D0, 0xFF
label000059D6:
000059D6 285F movea.l A4, [A7]+
000059D8 4E5E unlink A6
000059DA 4E75 rts